|
How can I define permissions on a /home/user dir _before_ creating it with adduser
Hi
I am setting up an apache server with /~user access on RH9, and am trying to create the user directories with the appropriate permissions in place.
I have found the /etc/skel dir and found setting the public_html in there to 755(or whatever) makes the /home/user/public_html to 755 as well.
I would like to know how I can set the /home/user dir to have 711 permission when it is created with the adduser command. setting the /etc/skel to 711 doesn't work : (
Thanks in advance
Skunkburner
|