using bazaar as root

Colin D Bennett colin at gibibit.com
Sat Dec 20 15:55:18 GMT 2008


On Sat, 20 Dec 2008 15:21:44 +0100
Jelmer Vernooij <jelmer at samba.org> wrote:

> Am Freitag, den 19.12.2008, 21:42 -0800 schrieb Colin D Bennett:
> > On Sat, 20 Dec 2008 00:25:48 +0100
> > Jelmer Vernooij <jelmer at samba.org> wrote:
> > 
> > > Am Freitag, den 19.12.2008, 17:08 -0600 schrieb Rahul Nabar:
> > > > Thanks John. I guess I should be safe till I don't have to do a
> > > > revert for a deleted file but just on a modified file. Just
> > > > curious: Why does bzr not preserve permissions? Is it just
> > > > storage economy or are there deeper issues?
> > > It's problematic to preserve permissions in a portable manner. 
> > > [...]
> > > In your case you would probably also want to store the owner and
> > > group of the file. This is also not trivial to do, since you
> > > don't want to store the uid / gid (they can refer to different
> > > users on different systems) nor do you want to store the
> > > username / groupname (what if they don't exist on a system on
> > > which you do the checkout, or if they are actually different
> > > users).
> [...]
> > If NFS hasn't got this right so far, it might be a pretty hard
> > problem (though to my simple mind it seems easy--just map
> > user/group IDs to the corresponding ones on the client with the
> > same name; nonexistent IDs are mapped to a 'nobody' user or group).
> This is what NFS4's idmapd does, actually. 
> 
> Cheers,
> 
> Jelmer

Brilliant!  I learn something new every day.

Regards,
Colin



More information about the bazaar mailing list