retesere20

--sudo samples

Jun 24th, 2019
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 {} \;
RAW Paste Data