homepage Welcome to WebmasterWorld Guest from 54.211.219.68
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache taking ownership of files
Pollos

5+ Year Member



 
Msg#: 4427620 posted 9:06 pm on Mar 10, 2012 (gmt 0)

I've just moved the site from one VPS to a new VPS using the Plesk migration tool, so I'm not sure if its a problem with plesk or the new VPS setup.

When the site was moved and I found some features/ sections not working I noticed that odd files and directory's were owned by Apache. Changing these back to the correct user/group cured the problems.

But now any files created by my site, my blog for example, are created under the user and group Apache which make them unusable unless I manually change user and group.

Any help advice thoughts greatly appreciated.

 

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4427620 posted 11:44 pm on Mar 10, 2012 (gmt 0)

Apache doesn't own the files, some other task running as apache, like PHP, probably created those files. This is a very common problem with Plesk which using FastCGI solves but it creates a ton of new and more annoying problems.

Pollos

5+ Year Member



 
Msg#: 4427620 posted 2:40 pm on Mar 11, 2012 (gmt 0)

Apache doesn't own the files


Ok I understand

some other task running as apache, like PHP, probably created those files


Correct php does create them, PHP is running as an Apache_mod and safe mode is off. Exactly the same as on my old VPS so I don't understand why files/folders created with PHP have apache as owner/group and not the correct user/group.

Is there anything I can do to rectify this

Thanx for your time.

enigma1

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4427620 posted 4:48 pm on Mar 17, 2012 (gmt 0)

What mode php runs with in your httpd.conf? (cgi, fastcgi etc)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved