Owner problems

Soulmaster

New member
Joined
Jan 28, 2009
Messages
4
Hello,

first sorry for my english, it's not the best ever. .

I've got this realy strange problem.

Server running on CentOs with Direct Admin.

Making new client and when that client uploads joomla or a other cms to make his site apache is taking ownerships of al the maps that joomla makes and not the owner of the site.

Only with chown -R user / bla bla b/bla i can fix this.

How can i fix this that apache stays of with his hands of the owner of the maps.
 
Since Joomla (and any other CMS) runs as apache, any file it creates or uploads will be owned by apache.

One way to fix this is to run php as cgi rather than as mod_php; another is to run a cronjob regularly to change ownership.

I prefer the former. Read the thread in these forums about using custombuild.

Jeff
 
another is to run a cronjob regularly to change ownership

Then the CMS will not be able to manage those files anymore. It will be able to read but not edit or delete the files. As Jeff said its best to run as cgi.
 
You'll have to rebuild PHP. Search in these forums for information on using custombuild.

Jeff
 
Back
Top