[PATCH] bzr tracks permissions

John A Meinel john at arbash-meinel.com
Thu Sep 15 19:16:02 BST 2005


Robert Collins wrote:
> On Mon, 2005-06-06 at 12:57 -0500, John A Meinel wrote:
> ...
>
>>Mostly I just wanted to get this patch out to get some feedback.
>>Especially how to handle user/group issues.
>>
>>I'm thinking that it might be best to include user&group in the commit,
>>but if they are different, it isn't considered a 'diff'.
>>
>>We could also just not revctl user/group at all, and let higher-level
>>pieces support that. Or have it be an options flag inside the tree. I
>>think I favor the options flag. So that someone who wants to revctl /etc
>> or $HOME can do so. But by default the only bit that is checked is the
>>execute bit.
>>
>>Also, this also needs merge() to be updated, so that it will also merge
>>the permission bits.
>
>
>
> 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

Well, would it be possible to track all bits, but only set the X bit? So
that someone could upgrade without having to start over?

John
=:->

>
> Rob
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050915/76291f2c/attachment.pgp 


More information about the bazaar mailing list