Wrong permissions when creating branch in shared directory

Luis Arias kaaloo at gmail.com
Wed Dec 7 16:40:02 UTC 2011


Hi,

We have a /bzr directory on our build machine where the devs check in
their work through bzr+ssh.  It works great except when someone
creates a new branch, then it doesn't have the right group permissions
and I have to regularly run this in the /bzr directory:

sudo chmod -R g+rw,o-rwx .
sudo find . -type d | sudo xargs chmod g+s

I imagine this has something to do with the umask setting on each
developer's home right ?  If someone knows what the workaround is I
would love to set it up for us!

In case its useful, permissions in /bzr look like this for each project.

drwxrws---  3 luis  devs 4096 2011-12-01 14:11 memcached-extras
drwxrws---  4 root  devs 4096 2011-05-26 13:28 tomcat-extras

Thanks for your help!
Luis



More information about the bazaar mailing list