SHARE
TWEET

--sudo samples

selnomeria Jun 24th, 2019 58 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top