Bug 84805 - swap space permissions
Summary: swap space permissions
Status: CLOSED DUPLICATE of bug 74849
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords: Security
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-21 15:54 UTC by Thomas Kellar
Modified: 2007-04-18 16:51 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-21 18:51:55 UTC


Attachments (Terms of Use)

Description Thomas Kellar 2003-02-21 15:54:23 UTC
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.

Comment 1 Jeremy Katz 2003-02-21 21:50:43 UTC
Fixed in Phoebe and later

Comment 2 Kjartan Maraas 2003-04-03 19:59:12 UTC
This is a duplicate of http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74849

Comment 3 Jeremy Katz 2003-04-03 20:10:27 UTC

*** This bug has been marked as a duplicate of 74849 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:51:55 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.