note 117074 added to function.unlink
| From: | llmll at gmx dot de | Date: | Sat, 11 Apr 2015 09:53:02 +0000 |
| Subject: | note 117074 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202230@lists.php.net to get a copy of this message | ||
On OSX, when fighting against a "Permission Denied" error, make sure, the directory has
WRITE permissions for the executing php-user.
Furthermore, if you rely on ACLs, and want to delete a file or symlink, the containing directory
needs to have "delete_child" permission in order to unlink things inside. If you only
grant "delete" to the folder that will allow you to delete the container folder itself,
but not the objects inside.
----
Server IP: 72.52.91.14
Probable Submitter: 91.137.104.62
----
Manual Page -- http://php.net/manual/en/function.unlink.php
Edit -- https://master.php.net/note/edit/117074
Del: integrated -- https://master.php.net/note/delete/117074/integrated
Del: useless -- https://master.php.net/note/delete/117074/useless
Del: bad code -- https://master.php.net/note/delete/117074/bad+code
Del: spam -- https://master.php.net/note/delete/117074/spam
Del: non-english -- https://master.php.net/note/delete/117074/non-english
Del: in docs -- https://master.php.net/note/delete/117074/in+docs
Del: other reasons-- https://master.php.net/note/delete/117074
Reject -- https://master.php.net/note/reject/117074
Search -- https://master.php.net/manage/user-notes.php