Re: Chmod a Directory
| From: | tedd | Date: | Tue, 09 Oct 2007 15:32:00 +0000 |
| Subject: | Re: Chmod a Directory | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262973@lists.php.net to get a copy of this message | ||
At 12:00 PM +0200 10/9/07, Samuel Vogel wrote:
You will have to loop through the directory recursively, running chmod() on every file there is! Regards, SamyIsn't there a sticky bit thing (i.e., 1777) you can use to change the files inside a directory? I've never done it, but I remember reading about it. Daniel Brown posted a magnificent post about permissions one time, but I can't find it. Perhaps he would be so kind as to post it again? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com