chmod subdirectories and files


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # chmod 777 every subdirectory
  2. find . -type d -exec chmod 777 {} \;
  3. # chmod 666 every file
  4. find . -type f -exec chmod 666 {} \;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.