-   Linux - Newbie (
-   -   Granting Apache write access (

hansfordmc 08-24-2012 10:31 PM

Granting Apache write access
I'm on RedHat Linux and have php scripts which run under user:apache group:apache. Now, the php files are owned by another group. How do I grant apache write access to files owned by this other group. As it is now, the only way apache can write to these files is by chmod 0777 the file. 0775 does not work.


KinnowGrower 08-24-2012 10:47 PM

I am not sure but, you can try to make apache member of another group by the command

usermod -a -G othergroupname apache

Wim Sturkenboom 08-24-2012 11:13 PM

I use ACL for it; unfortunately no notes at hand how I did it.

All times are GMT -5. The time now is 10:45 AM.