Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo chown -R www-data:www-data /srv/www
- sudo find /srv/www/ -type f -exec sudo chmod 644 {} ;
- sudo find /srv/www/ -type d -exec sudo chmod 755 {} ;
- sudo adduser shea www-data
- touch: cannot touch ‘/srv/www/foo’: Permission denied
- sudo chown -R shea:www-data /srv/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement