useradd creating 0766 homedir permission?

Florian Festi ffesti at redhat.com
Fri Apr 17 08:55:50 UTC 2009


Warren Togami wrote:
> [root at newcaprica home]# useradd test
> [root at 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.

Try again and then check your umask setting.

Florian




More information about the fedora-devel-list mailing list