Re: tracking perms/ownership
- From
David Kastrup <dak@gnu.org>
- Date
- Aug 24, 2007, 06:16 UTC
- Message-ID
- <85ir75h2zb.fsf@lola.goethe.zz>
- In-Reply-To
- <alpine.LFD.0.999.0708231626580.30176@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 16 quoted lines
> On Thu, 23 Aug 2007, Junio C Hamano wrote: >> >> "Josh England" <jjengla@sandia.gov> 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