note 57440 added to function.unlink
| From: | afmm at osu1 dot php dot net | Date: | Tue, 04 Oct 2005 12:10:54 +0000 |
| Subject: | note 57440 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96341@lists.php.net to get a copy of this message | ||
Thanks jchase, i was going nuts with that one :)
The problem was, even with write permission, I kept getting permission denied... only after a while
i realized the user/group owning the directory and running the application were different since I
had migrated the site (previously everything was working fine, I guess the user (or group) were the
same back then).
So if anyone else has this problem... either set permissions to 0777 or check the user/group for the
directory to see if 0775/0755 will suffice.
----
Manual Page -- http://www.php.net/manual/en/function.unlink.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57440
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57440&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57440&report=yes
Search -- http://master.php.net/manage/user-notes.php