[Bug 518550] New: useradd: new home dirs default to readable mode 0755
http://bugzilla.novell.com/show_bug.cgi?id=518550 Summary: useradd: new home dirs default to readable mode 0755 Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060200 SUSE/3.0.11-0.1.1 New home directories created with useradd(8) have a world-readable mode of rwxr-xr-x by default. Reproducible: Always Steps to Reproduce: 1. useradd -mk /var/lib/empty foo 2. ls -dl /home/foo Actual Results: Created with rwxr-xr-x/0755. rwxr-xr-x 1 foo users 4096 Jul 2 03:32 foo Expected Results: Create it with at most --x--x/0011 for group/other. rwx--x--x 1 foo users 4096 Jul 2 03:32 foo I may have seen a config settings for the default umask somewhere, but cannot remember where. *Nevertheless*, I think new home dirs should default to not being readable by everyone. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=518550
Jan Engelhardt
http://bugzilla.novell.com/show_bug.cgi?id=518550
User kukuk@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=518550#c1
Thorsten Kukuk
http://bugzilla.novell.com/show_bug.cgi?id=518550
User jengelh@medozas.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=518550#c2
Jan Engelhardt
http://bugzilla.novell.com/show_bug.cgi?id=518550
User kukuk@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=518550#c3
Thorsten Kukuk
http://bugzilla.novell.com/show_bug.cgi?id=518550
User jengelh@medozas.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=518550#c4
--- Comment #4 from Jan Engelhardt
http://bugzilla.novell.com/show_bug.cgi?id=518550
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com