bzr & unix permissions on the .bzr contexts.
Michael Andronov
ma5645 at gmail.com
Mon Aug 2 20:05:52 BST 2010
Hi,
I have a question, which probably has been asked already. But I failed
to find an answer:
Let assume, there is User1, who initiated the Project, commit, and
make a repository;
Let assume, there is User2, who would like to contribute/to cooperate
with User 1.
Both users are belonging to the same '*unix' group.
User1 & User 2 can NOT 'see' each other computer directly. But they
can both read/write to the third computer.
So, the model they choose:
User1 <---> Server <--->User2.
User1 made a push to Server. As result, the {...}/Project/.bzr
appeared on the server.
But permission of the above .bzr is
rwx per user,
r_x per group
Assuming that User1 and User2 are within the same group, User 2 can
'bzr pull' now from the server, and get the code to work on.
However, he can not push back his changes, since file permissions are
not allowed that.
My understanding is that bzr, - ( git, and hg too) - does not take
care about the permissions directly.
But I think that above scenario, when multiple users are using the
third machine to exchange data, is common.
To this end, I am wondering -
-- what is the common solution to the above scenario?
-- is it proper to perform 'chmod -R g+w .bzr' ? Is there any files
( within bzr ), which should be preserved?
-- is there any bzr document, note(s), etc, describing the above scenario?
Thanks for kind attention to above.
Michael.
More information about the bazaar
mailing list