note 57320 added to function.unlink

From: Date: Fri, 30 Sep 2005 13:52:06 +0000
Subject: note 57320 added to function.unlink
Groups: php.notes 
Request: Send a blank email to php-notes+get-96049@lists.php.net to get a copy of this message
Response to: --------------------------------------------------------- jchase at solidmark dot com 20-May-2005 10:05 Just a note which you probably all know, but I didn't, and it might save another poor sap some unnecessary time: I was doing unlink() and fopen() on a file and got a permission denied error, even after chmoding the file to 0777. The folder that contains the file must ALSO have write permission. Took a headache to find this out. Hope this helps someone :) --------------------------------------------------------- a simple way insted of: chmod 777 foldername is: chmod -r 777 foldername <- dose all files and folders in sub directory ---- Manual Page -- http://www.php.net/manual/en/function.unlink.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57320 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57320&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57320&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96049) next »