useradd creating 0662 homedir permission?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux