25 December, 2016

Make /var/www/html/ writable

From the history:

 76  sudo gpasswd -a "per" www-data
   77  sudo chown -R "$USER":www-data /var/www
   78  find /var/www -type f -exec chmod 0660 {} \;
   79  sudo find /var/www -type d -exec chmod 2770 {} \;
   80  touch x
   81  rm x

Line 80 - 81 is just a test. 

No comments: