Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179319 - /etc/profile umask defaults to 022, even on hardened
Summary: /etc/profile umask defaults to 022, even on hardened
Status: RESOLVED DUPLICATE of bug 69783
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Default Configs (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 14:10 UTC by Michael Croes
Modified: 2007-05-21 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Croes 2007-05-21 14:10:14 UTC
The umask 022 settings will by default create files and folders that are read to all users on the system. I don't see any reason why this would even be default on non-hardened systems (well except for maybe apache, which with the correct mpm can be forked to the user), but especially on hardened systems this seems like a security issue to me. If there is no obvious reason to not set the umask to 077 by default, I hope this will at least change in hardened...

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-21 17:53:16 UTC

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