git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Glanzmann <thomas@glanzmann.de>
To: David Kastrup <dak@gnu.org>
Cc: git@vger.kernel.org
Subject: Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)
Date: Mon, 16 Jul 2007 14:39:13 +0200	[thread overview]
Message-ID: <20070716123913.GJ24036@cip.informatik.uni-erlangen.de> (raw)
In-Reply-To: <86644kaaf1.fsf@lola.quinscape.zz>

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.

        Thomas

[1] Notes
        Of course that doesn't apply to all filesystems. For example AFS
        and NFS. But as I said before it happens on a _UFS_ filesystem.

  reply	other threads:[~2007-07-16 12:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 10:08 "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris) Thomas Glanzmann
2007-07-16 10:43 ` Thomas Glanzmann
2007-07-16 10:48   ` David Kastrup
2007-07-16 12:35     ` Thomas Glanzmann
2007-07-16 10:51   ` David Kastrup
2007-07-16 12:39     ` Thomas Glanzmann [this message]
2007-07-16 12:58       ` David Kastrup
2007-07-16 13:15         ` Thomas Glanzmann
2007-07-16 16:40           ` Thomas Glanzmann
2007-07-16 12:46 ` Thomas Glanzmann
2007-07-16 13:36 ` Thomas Glanzmann
2007-07-16 16:29   ` David Kastrup
2007-07-16 17:03   ` Linus Torvalds
2007-07-16 17:07     ` Linus Torvalds
2007-07-16 17:17       ` Thomas Glanzmann
2007-07-16 18:09         ` Thomas Glanzmann
2007-07-18  8:50           ` Thomas Glanzmann
2007-07-18 15:45             ` Linus Torvalds
2007-07-18 18:15               ` Thomas Glanzmann
2007-07-16 13:45 ` Thomas Glanzmann
2007-07-16 14:35   ` "git clone" executed as root on solaris 10 shreds UFS (it ispossible " Johannes Sixt
2007-07-16 15:45     ` Brian Downing
2007-07-16 15:50       ` Brian Downing
2007-07-16 19:57       ` David Kastrup
2007-07-16 17:12     ` Thomas Glanzmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070716123913.GJ24036@cip.informatik.uni-erlangen.de \
    --to=thomas@glanzmann.de \
    --cc=dak@gnu.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).