Joined: Aug 27, 2002 Posts: 15062 Location: Kansas
Posted:
Tue Nov 27, 2007 1:25 am
My installation instructions for some scripts says that I do.
No, you do not need to have directories set to 777 nor files set to 666/777, even if your installation documents tell you that you do. Permissions of 755 for folders and 644 for .php files will work in the same way - Scripts owned by your account user UID/GID will be able to write to your files, the same way that they can running under apache with 666/777 permissions.
If you have php applications/scripts that have directories set to 777, (required to write to them under php/apache module), they would need to be changed - Also you would need to change ownerships of all files owned by user "nobody" to the user name UID/GID for your account. In most cases the UID/GID is account/account instead of nobody/account or nobody/nobody.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum