Mailinglist Archive: opensuse-bugs (5175 mails)
| < Previous | Next > |
[Bug 518550] New: useradd: new home dirs default to readable mode 0755
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 1 Jul 2009 20:58:58 -0600
- Message-id: <bug-518550-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: jengelh@xxxxxxxxxx
QAContact: qa@xxxxxxx
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.
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: jengelh@xxxxxxxxxx
QAContact: qa@xxxxxxx
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.
| < Previous | Next > |