[PATCH] bzr tracks permissions

Robert Collins robertc at robertcollins.net
Mon Sep 19 11:51:36 BST 2005


On Fri, 2005-09-16 at 10:35 +0100, Magnus Therning wrote:
> On Fri, Sep 16, 2005 at 04:09:23AM +1000, Robert Collins wrote:
> ...
> >I think we should have two distinct modes of operation.
> >
> >The default:
> >track the 'x' bit and only that. Here we read from the user, and set on
> >user and group.
> >
> >Insane-mode:
> >track read/write/execute user/group/all file-owner/file-group
> 
> Would that include comprehensive support for ACLs on all supported
> platforms where that's available?

That would be nice. One problem is making sure we retain such info when
on a platform that cant store it, so that users on platform X don't muck
up platform Y.

given the complexities of getting such os specific support right, I
think we should start with _just_ 'x' bit support, and once that is
robust, design and implement insane-mode support. 

John - this would mean folk using bzr now will get no permissions when
insane mode is ready - no 'start recording it all now' - but I think
that this is better than having unix permissions essentially special
cased and partial code for the real thing, unless we focus on delivering
insane-mode right now, and I think that 'x' bit covers something like
95% of user needs.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050919/bd06c2c6/attachment.pgp 


More information about the bazaar mailing list