Re: tracking perms/ownership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> On Thu, 23 Aug 2007, Junio C Hamano wrote:
>>
>> "Josh England" <jjengla@xxxxxxxxxx> writes: 
>> > Looking at the index struct, it already has fields in it for file mode
>> > uid and gid (woohoo!).
>> 
>> I can see that storing textual names in gitattributes and having
>> the root user run git so that it can chown(), would work.
>
> Well, the nice thing is that even non-root can actually resolve
> merge conflicts and generally use the archive, even if non-root
> obviously cannot then actually set the files to those users/groups!
>
> So handling ownership outside of the actual filesystem, in a
> separate file that git tracks, actually allows you to do things that
> you couldn't otherwise sanely do.

Well, about that "sane" bit: I don't see an application for tracking
unrestorable ownership values.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux