What is the managment overhead of decentrilized version control?
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 21 14:16:59 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon Ekstrand wrote:
> On Tue, Jun 20, 2006 at 12:39:52PM +0200, Jan Hudec wrote:
>> Also IIRC bzr supports sgid repositories, that is if the repository is
>> sgid, it sets group write permission.
>
> Unless this has been fixed recently, it's broken, atleast for
> open-ssh(d). Openssh's serverside sftp implementation masks out any
> suid/sgid bits on chmod operations for regular users. The sftp transport
> mkdir method does a mode-less mkdir then a chmod, which doesn't work.
> Including the directory mode with the mkdir call would work fine
> (tested), but there's a comment in the mkdir method about this breaking
> with the sftp server used for tests.
>
> This problem bit me when setting up a central branch for shared
> checkouts.
>
If you already had the sgid bit, then wouldn't it force the creation to
also have the sgid bit? Or is it the problem that the final chmod
removes the bit that was already set?
I have it working with standard opensshd, so I'm not sure why it isn't
working for you. But it is definitely something that we want to support.
The only times I've found it to fail was when I was using rsync to push
my branches, which caused the remote end to take on the local
permissions, rather than the shared remote permissions.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEmUbLJdeBCYSNAAMRAtMJAKCYstgwEOF6a0ktvmrDacfruGIUYwCfR+L1
03T9g0niXQEGhuAYD3YU+Rc=
=QUEA
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list