Query on changing the directory

Asked By 10 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 0 points N/A #105764

Query on changing the directory

qa-featured

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.
 

Login/Register to Answer

Related Questions