From: David Kastrup Date: Mon, 16 Jul 2007 12:58:27 GMT Subject: Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris) Message-ID: <86myxw8pzg.fsf@lola.quinscape.zz> In-Reply-To: <20070716123913.GJ24036@cip.informatik.uni-erlangen.de> Thomas Glanzmann writes: > Hello David, > as I mentioned and showed in my original e-mail: > > git checkout /path/to/repo > > triggers the problem also. So no, "cp -a" has nothing todo with it > because root is able to read _all_ files no matter who the files are > owned by and what the permissions of these files are[1]. This happens on > a _local_ fileystem. And what worries me is that git does something that > breaks the _hard link counter_ of a directory. Hm? The hard link counter is "broken" by creating or not creating subdirectories, since their ".." is a hard link. -- David Kastrup