Re: Chmod a Directory
| From: | Daniel Brown | Date: | Tue, 09 Oct 2007 15:42:02 +0000 |
| Subject: | Re: Chmod a Directory | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262975@lists.php.net to get a copy of this message | ||
On 10/9/07, tedd <tedd@sperling.com> wrote:
> 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,
> >Samy
>
> Isn'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
>
Thanks, Tedd!
I had to search for it, and wasn't having much luck, but GMANE has
a copy of it, posted 18 May, 2007.
http://article.gmane.org/gmane.comp.php.general/163539
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....