Advertisement
retesere20

--sudo samples

Jun 24th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. sudo chmod 755 $(find /desired/path/ -type d) :: same as:: sudo find /var/www/ -type d -exec chmod 775 {} \;
  2. sudo chmod 644 $(find /desired/path/ -type f) :: same as:: sudo find /var/www/ -type f -exec chmod 664 {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement