From: David Kastrup Date: Fri, 24 Aug 2007 06:16:08 GMT Subject: Re: tracking perms/ownership Message-ID: <85ir75h2zb.fsf@lola.goethe.zz> In-Reply-To: Linus Torvalds writes: > On Thu, 23 Aug 2007, Junio C Hamano wrote: >> >> "Josh England" 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