Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on file and folder permissions

Status
Not open for further replies.

skalaway

MIS
Aug 26, 2007
1
I just moved a content management site to another shared hosting service and have to set write required folders to 777 or I get errors, whereas on the previous shared server running the same LAMP setup, retained the file(644) and folder(755) permissions as uploaded and functioned properly.

I tested this CMS on 3 other shared hosting servers that performed as the latter above. No errors.

Why does most if not all servers today work without requiring permission changes yet this one won't function unless chmod? Would it be old? Should they run phpsuexec? Please advise. Thanks

Their system
Apache version 1.3.37 (Unix)
Operating System Linux
Kernel version 2.6.18.1.dn1.p4
 
My first guess would be a change in the user/group uid/gid that the web server is running as... When you have to extend perms xx7 to include "all users", it indicates to me that your apache is running as a user you didn't set as owner of the files/folders.

D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top