LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Home Directory Default Rights (https://www.linuxquestions.org/questions/linux-general-1/home-directory-default-rights-358175/)

Cottsay 08-29-2005 01:09 PM

Home Directory Default Rights
 
Good day!

I have made a PHP script that interfaces with the Linux user system. The problem is that the rights granted to a new user's home directory is 700, and I need 711. Is there a way to set the default rights for a new user? Each home directory must have execute access to everyone. I am running Fedora Core 3 without SELinux.

Thanks for whatever you can do,

Scott Logan
CottsayNet

trickykid 08-29-2005 01:11 PM

umask is your friend..

man umask ;)

Cottsay 08-29-2005 01:44 PM

I think I know what you mean...the umask of /home is 0022 but I don't think that effects it. I looked at /etc/skel and /etc/default/useradd and can't find anything. Any ideas?


All times are GMT -5. The time now is 07:50 AM.