note 53027 deleted from function.unlink by cmb

From: Date: Sun, 29 Dec 2019 11:36:40 +0000
Subject: note 53027 deleted from function.unlink by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213694@lists.php.net to get a copy of this message
Note Submitter: jchase at solidmark dot com ---- [Editor's note: A suggestion for a work-around was submitted by argistof at gmail dot com: You can use the recursive option (see man chmod) when chmodding, for instance 'chmod 777 directory/ -R'. Be aware though, this will change the permissions of all files and folders in the diectory.] 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 :)

« previous php.notes (#213694) next »