Reasons file permissions may not match argument given to mkdir in php? -


i'm trying debug strange file permission issue involving php, , have exhausted obvious problems. note i'm not experienced php, might dead-obvious.

i want user able create folder , files via web interface, , able work files separate user account on server backend work. problem created folders , files have no write or execute permissions other users.

i don't have lot of knowledge in area, best hacky try see if explicitly passing 0777, though it's default, relevant mkdir fixed it. , every other mkdir call. , every chmod call.

as far can tell, folder , files should created right permissions. know reasons permissions might differ naively expect?

if unix need check umask web server user, if windows, ignores permissions.

http://us.php.net/umask


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -