Current time: 12-26-2024, 09:51 PM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Permissions
Author Message
lost108 Offline
Junior Member
*

Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #1
Apache Permissions
Hello,

We are trying to change permissions on a certain directory so that it can be read/written to by all domains on the server.

Changing ownership of the directory to vu2000:www-data or www-data:www-data was our initial attempt at accomplishing this. However, it seems that unless the owner of the file is the uid assigned by ispCP to the domain, that domain will not be able to read the file / write to the directory.

How can we allow apache to read / write files across the server without making the directory world writeable?

Thank you for your help!
03-20-2008 09:13 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Apache Permissions
apache can read - and maybe write all which belongs to it's group www-data.
So far it's correct.

The big question is: is apache writing there or anything else?

If you want to write there using a php application then world writeable seems the only solution (and no mor risk than writable to all users...). PHP runs as userid:groupid of the domain user...

You also can switch back to the past and use mod-php instead of php fastcgi/suexec..
03-20-2008 10:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)