LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   user privileges for apache (https://www.linuxquestions.org/questions/linux-server-73/user-privileges-for-apache-838509/)

Tim Johnson 10-16-2010 10:52 AM

user privileges for apache
 
I'm using ubuntu 10.04. Apache server is associated with www-data
I frequently run into problems editing or deleting files created by
a cgi script, as they have ownership of www-data:www-data.
How can I safely modify my system so that the output files
are editable or deletable by user tim?
thanks
tim

AlucardZero 10-16-2010 11:02 AM

Are the files group-writable? Add tim to the www-data group.

Tim Johnson 10-16-2010 12:45 PM

Quote:

Originally Posted by AlucardZero (Post 4129593)
Are the files group-writable?

No. They are not. mode = 644
Can I configure apache so that they would be?
thanks
tim


All times are GMT -5. The time now is 05:16 PM.