Make sure all potential users belong to a common group e.g. mygroup, now do:
mkdir myrepositoryFor each branch you or others want to create, do:
chgrp mygroup myrepository
chmod g+ws myrepository
cd myrepositoryThere, now everyone should be able to branch/checkout and push/commit with no permissions problems.
bzr init abranch
chmod -R g+w abranch
In case you are interested, the g+ws above, changes the repository directory to allow members of the group to change it and also makes sure that any files created within that directory is owned by the same group: mygroup. Directories created within this directory will also have the 's' bit set.
No comments:
Post a Comment