Welcome Guest, Not a member yet? Register   Sign In
mkdir problems
#8

[eluser]jedd[/eluser]
If you are setting perms to 777 and they're reverting to 755 - I do not know. Are you sure they're set to 777 at all, ever, or are you checking the return value of the call to make them 777, and how are you trying to set them to 777 in the first place?

Part of your problem might be the parent directory permissions, but that might affect inheritance, but should not force changes back from what you've set file perms to.

Why other systems behave differently - probably because Debian is a bit more secure out of the box than most other distros, and certainly than most other OS's.

For security, if the (web) server is running as www-data, then you should be fine to have 770 on an upload directory, I'd have thought - though I've not done file uploads in PHP before, there's no reason it should behave any differently than any other file creation activity.


Messages In This Thread
mkdir problems - by El Forum - 06-21-2009, 05:14 PM
mkdir problems - by El Forum - 06-22-2009, 01:32 AM
mkdir problems - by El Forum - 06-22-2009, 01:46 AM
mkdir problems - by El Forum - 06-22-2009, 12:29 PM
mkdir problems - by El Forum - 06-22-2009, 12:38 PM
mkdir problems - by El Forum - 06-22-2009, 01:25 PM
mkdir problems - by El Forum - 06-22-2009, 01:41 PM
mkdir problems - by El Forum - 06-22-2009, 02:04 PM
mkdir problems - by El Forum - 06-22-2009, 02:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB