[PATCH] bzr tracks permissions

Martin Pool martinpool at gmail.com
Tue Sep 20 08:25:20 BST 2005


On 19/09/05, Robert Collins <robertc at robertcollins.net> wrote:
> 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?

It'd be nice to have that tracked as, say, versioned file properties. 
Getting the totally right behaviour may be a bit tricky, for example
when getting a checkout on a machine where a group isn't present, or
the appropriate ownership is different.

> 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.

Yes, that's what I'd like to see.

-- 
Martin




More information about the bazaar mailing list