[RFC] per-branch umask

Matthieu Moy Matthieu.Moy at imag.fr
Tue Dec 13 19:01:16 GMT 2005


John Arbash Meinel <john at arbash-meinel.com> writes:

> I think it would be nice to have a umask value set for a branch, so that
> clients will respect it when committing to that directory. That would
> mean it needs to be inside .bzr, so that all clients see it.

Isn't what you want to do just the following:

* bzr doesn't change the permission for existing files

* When bzr creates a new file/directory, it inherits the permission
  bits of the parent directory, not the current umask.

Then, setting the "local umask" for a branch is just "chmod -R .bzr/".

-- 
Matthieu




More information about the bazaar mailing list