[PATCH] bzr tracks permissions

Robert Collins robertc at robertcollins.net
Thu Sep 15 19:09:23 BST 2005


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

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/20050916/133659f3/attachment.pgp 


More information about the bazaar mailing list