|
I have a php application that I'm having rewritten. The old appliction created directories and files - but only with the 777 chmod on the directory it had to access. We are changing this but I am curious about how this works.
If the application creates a file is it the "owner" of the file in terms of chmod. I do want the ability of change, rename, etc.. files and I've used some gallery scripts in the past that would not allow a user to do that even via ftp.
What needs to go in the application in terms of granting it ownership for a more secure chmod setting. And in making this change what then is the status of the application (owner or user)
Thank you
|