Give the www user chmod permissions

Posted by Derrick on Super User See other posts from Super User or by Derrick
Published on 2012-04-05T09:56:47Z Indexed on 2012/04/05 11:33 UTC
Read the original article Hit count: 340

Filed under:
|

Ive got a website (run on Ubuntu Server) that needs to modify and delete files, every now and again it comes across a file that it needs to run "chmod" on in order to perform it's operations.

However it seems as tho the 'www' user does not have permission to run 'chmod' on any files.

So I'm looking for the command to allow the 'www' user to do its thing on files inside the /var/www folder and also the /var/logs folder for example.

Thanks.

© Super User or respective owner

Related posts about ubuntu

Related posts about chmod