useradd etc/skel public_html permissions problem
Using:
Trustix Linux Apache 2.0 Trying to: adduser(s) to a web server (I have about 150 to add). Problem: using the etc/skel directory I automatically add a public_html directory and index.htm file. In the etc/skel directory both the public_html and the index.htm file are 755. In the user's directory the public_html folder is 701? (rwx --- --x). Please help, I don't want to do 149 chmod(s). Thanks |
What are the permissions for /home?
ls -l / |
Thanks RobertP
/home is drwxr-xr-x (755) |
As root
#for f in /home/*; do chmod 755 $f/public_html $f/index.htm ; done I know it is silly, but it should work! |
Thanks RobertP
Sometimes silly is just the right medicine. |
All times are GMT -5. The time now is 06:01 PM. |