Advertisement
sytchenko

Linux. Batch chmod

Nov 9th, 2021 (edited)
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. #Files:
  2. sudo find /var/www/html -type d -exec chmod 755 {} \;
  3.  
  4. #Folders:
  5. sudo find /var/www/html -type f -exec chmod 644 {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement