Because when you use php to make a file/directory, the
webserver makes the owner the webserver (usually
"nobody"). Unless you log in as "nobody" (or whatever
respective name), you will not be able to modify the
permissions or delete the file/dir. However, when
logging in and making a file with 777
hi,
how come when i make a dir thus
mkdir($basedir,0777);
cute can't then chmod or delete said dir.
also vice versa : when i create a dir with cute
with 777 access php can't do anything with it.
it's very annoying.
2 matches
Mail list logo