Thread (29 messages) flat view 29 messages, 7 authors, 2016-06-15

Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:21

Thomas Glanzmann [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help