NYCPHP Meetup

NYPHP.org

[nycphp-talk] chmod - sticky bits on dirs

John Lacey jlacey at att.net
Thu Feb 19 21:34:40 EST 2004



bpang at bpang.com wrote:

> Can someone help me remember how to do this with chmod?
> 
> I have a directory in which I want all files or sub-directories (existing
> and newly created/added) to be rwx by any member of the group which owns
> the directory.
> 
> I thought it was something like
> chmod g+s <dirname>
> but that doesn't seem to be doing it right...

try chmod -R 1777 <dirname>

but try it on a test tree first :)

John




More information about the talk mailing list