Re: Chmod a Directory
| From: | Stut | Date: | Tue, 09 Oct 2007 10:05:36 +0000 |
| Subject: | Re: Chmod a Directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262954@lists.php.net to get a copy of this message | ||
abderrazzak nejeoui wrote:
Please how can i chmod a directory to 0777 i tried chmod ($myDirectory, 0777); but nothing happensCheck the return value. If it's false then it's failing for some reason., most likely because the user it's running as doesn't have permission to extend the permissions on that directory that far. Also make sure you read the notes here: http://php.net/chmod -Stut -- http://stut.net/