Posted By

loungerdork on 06/09/11


Tagged

chmod find


Versions (?)

chmod subdirectories and files


 / Published in: Bash
 

  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  

You need to login to post a comment.