[PATCH] bzr tracks permissions

Magnus Therning magnus at therning.org
Fri Sep 16 10:35:34 BST 2005


On Fri, Sep 16, 2005 at 04:09:23AM +1000, 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

Would that include comprehensive support for ACLs on all supported
platforms where that's available?

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

If it stinks, it's chemistry. If it moves, it's biology.
If it does not work, it's computer science.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050916/8c93e185/attachment.pgp 


More information about the bazaar mailing list