Chmod doesn't work for all files

1

I'm trying to chmod my /var/www folder in Ubuntu, with the command: chmod -R 775 /var/www, and it works for the existing files. However, every time I add a new file, I have to run the command again, or else it gives me a 403 error. How can I prevent this, and chmod the directory permanently?

Thomas

Posted 2014-12-02T07:11:45.957

Reputation: 11

No answers