Asked By
ben howard
10 points
N/A
Posted on - 11/29/2011
UNIX hosting is different from Windows hosting. What I would like to know is how I can make permission in changing the directories instead of files. Would it be a huge security risk to put the entire directory system accessible for everyone?
Answered By
Paul Mac
0 points
N/A
#105764
Query on changing the directory
Permission in changing the directories:
-
chmod has a -R flag to change the permissions on directories.
-
Chmod +v dir can be used to set a directory to be listable.
-
Chown -r username dir is used to change user of a directory.
-
find dir -type f -exec chmod 644 {} ';' is used to change permissions bits of all files in a directory.
-
find dir -type d -exec chmod 755 {} ';' is used to change permissions bits of all directories. Â
Yes it  Would it be a huge security risk to put the entire directory system accessible for everyone.
Â