note 45917 deleted from features.safe-mode by cmb

From: Date: Tue, 13 Oct 2020 20:03:55 +0000
Subject: note 45917 deleted from features.safe-mode by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215586@lists.php.net to get a copy of this message
Note Submitter: bertrand dot gorge at epistema dot com ---- 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.

« previous php.notes (#215586) next »