On Wed, Sep 08, 2010 at 07:47:28PM +1000, Matthew Allen wrote: > sudo find /path/to/repo -type d -exec chmod 770 {} \; > > I don't know what the "2" does in front of the 770. But it looks like it > still works... so maybe thats all there is to it?
The 2 controls the sticky bit. Mode 2770 says read-write-execute permissions for user and group and the group sticky bit set to on. See the chmod(1) man page for details on what sticky bits do. tyler