note 45917 added to features.safe-mode
| From: | bertrand dot gorge at epistema dot com | Date: | Thu, 23 Sep 2004 12:58:38 +0000 |
| Subject: | note 45917 added to features.safe-mode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77243@lists.php.net to get a copy of this message | ||
Beware that when in safe mode, mkdir creates folders with apache's UID, though the files you
create in them are of your script's UID (usually the same as your FTP uid).
What this means is that if you create a folder, you won't be able to remove it, nor to remove
any of the files you've created in it (because those operations require the UID to be the
same).
Ideally mkdir should create the folder with the script's UID, but this has already been
discussed and will not be fixed in the near future.
In the meantime, I would advice NOT to user mkdir in safe mode, as you may end up with folders you
can't remove/use.
----
Manual Page -- http://www.php.net/manual/en/features.safe-mode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45917
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45917&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45917&report=yes
Search -- http://master.php.net/manage/user-notes.php