View Single Post
Old February 5th, 2005, 03:12 AM   #4 (permalink)
mr2jswe
Junior Member
Verified Customer
 
Join Date: Jan 2005
Location: Sweden
Posts: 22
Re: Safe mode host problem

Thankyou oldengine> Ive looked into your thread, but I dont understand what to change and where to do that? Sure it has to do with the properties of files and folders, and with user and/or script priviligies, but I cant seem to compile that into my brain.

In addition I have recieved information from my host about a workaround, here goes the translation:

"There is a solution on the safe mode issue that deals with the creation of files and folders through script (I assume thats your problem?) The solution is safe_mode_gid, which we HAVE implemented at Surftown.

With the safe_mode_gid setting the group have access to files created by script (which has owner Root/httpd), which is normally not possible under safe mode. What creates the problem is that if you change read and write permissions on a folder/script through a regular ftp program, then the file/folder loses its g+s setting, which makes a user that differs from root not being able to access to folder/file, even if the user is part of the group.

So when you check the permissions on a file or folder through normal chmod (eg chmod 777) then you have to make sure that the symbolic rights (unix/linux user symbolic rights) g+s remains."
mr2jswe is offline   Reply With Quote