FrontPage stackingco
sudo adduser <username> www-data 
sudo chgrp -R www-data /var/www
sudo chmod -R g+rw /var/www
find /var/www -type d -print0 | sudo xargs -0 chmod g+s

sudo usermod -a -G www-data <some_user>
sudo chgrp -R www-data /var/www
sudo chmod -R g+w /var/www
sudo find /var/www -type d -exec chmod 2775 {} \;    
sudo find /var/www -type f -exec chmod ug+rw {} \;
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2012-11-28 10:40:50
Processing time 0.0040 sec