Sunday, February 22, 2009

Set up a darcs repository for write by a group of users

Create a group, add everyone to the group then set permissions and sticky on the group:

sudo find /code -type d -exec chmod 770 {} \;
sudo find /code -type f -exec chmod 660 {} \;
sudo find /code -type d -exec chmod g+s {} \;

No comments: