bzr & unix permissions on the .bzr contexts.
Michael Andronov
michael_andronov at sd-kyber.com
Mon Aug 2 21:07:02 BST 2010
John --
Thank you for the speedy reply.
1.
> We do stat the .bzr directory and try to preserve that permission on
> files that we create.
Does it mean, that in my scenario:
User1 <---> Server <--->User2.
If User1 takes an extra action, and explicitly specified 'rwxrwx---'
permission to .bzr directory BEFORE he makes the push to the server,
then on the server the permissions will be OK, to let the second user
to push later?
2.
> Directories need to be group rwx so that we can write into them, but
> files can be r-x because we don't write to existing files.
So, in other words, if on server, I force the permission to be
'rwxrwx___' both on directories AND on files, there is no harm, right?
( The reason I'm re-asking -- 'chmod -R g+w .bzr' looks for me a bit
shorter /faster then:
"...
> find .bzr -type d -print0 | xargs -0 chmod 2770
> chown -R .group .bzr
...
"
Thanks,
Michael.
On Mon, Aug 2, 2010 at 3:14 PM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
.....
More information about the bazaar
mailing list