Bug 84805
| Summary: | swap space permissions | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Thomas Kellar <tkellar> |
| Component: | anaconda | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED DUPLICATE | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | kmaraas, mitr |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 18:51:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in Phoebe and later This is a duplicate of http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74849 *** This bug has been marked as a duplicate of 74849 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
Description of problem: file based swap space is created with the wrong permissions allowing anyone-any user to scan the swap space. It is created with 666 permissions and should be created with 660 or better 600 permissions. The disk based rather then file based swap space has 660 permissions. Version-Release number of selected component (if applicable): Version 8.0 professional version How reproducible: easy Steps to Reproduce: 1. add swap space manually 2. add swap space via the upgrade to 8.0 process 3. Actual results: /SWAP created by the upgrade procedure has 666 permissions when it should have 660 or 600 permissions Expected results: Additional info: Easy to fix but this is a security problem on multi user systems.