Dano Manion

Debian Notes

How to get ‘www-data’ permissions to work for both authroized FTP users and server writes.

sudo adduser <username> www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rwX /var/www

Tools

  • ncdu: tool to analyize where your disk space has gone. Has to be installed.

Sources

  1. https://www.digitalocean.com/community/questions/discussion-about-permissions-for-web-folders