Git

Use a git repository on /var/www/html/

Pinterest LinkedIn Tumblr

you want all content within /var/www/html owned by the user operating git repository.

chmod 755 -R /var/www/lepton

sudo chown -R ubuntu:www-data /var/www/html && chmod -R g+sw /var/www/html

Write A Comment