On 04/17/2009 04:24 AM, Warren Togami wrote:
[root@newcaprica home]# useradd test
[root@newcaprica home]# ls -al
total 20
drwxr-xr-x. 5 root root 4096 2009-04-17 04:17 .
drwxr-xr-x. 24 root root 4096 2009-04-16 22:38 ..
drw-rw--w-. 4 test test 4096 2009-04-17 04:17 test
/home/test is 0766. That can't possibly be correct?
Attempting to login to this user is pretty broken.
I was up way too late... it is indeed 0662 which seems totally broken.
umask looks right.
[root@newcaprica home]# umask
0022
[root@newcaprica home]# useradd test
[root@newcaprica home]# ls -ld test
drw-rw--w-. 4 test test 4096 2009-04-17 11:42 test
Turns out this is a broken shadow-utils that was reverted from rawhide.
shadow-utils-4.1.3-2.fc11.x86_64
Warren Togami
wtogami(a)redhat.com