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, Linus Torvalds <torvalds@osdl.org>,
	Junio C Hamano <gitster@pobox.com>
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:35:10 +0200	[thread overview]
Message-ID: <20070716123510.GI24036@cip.informatik.uni-erlangen.de> (raw)
In-Reply-To: <86ejj8aakq.fsf@lola.quinscape.zz>

Hello David,

> Does it help to say export CDPATH="" in your root shell?

no. The problem is triggered by "git-checkout-index -a -f" so my CDPATH has
absolutly _nothing_ todo with it:

        (faui04a) [/var/tmp] mkdir -p test-4/.git
        (faui04a) [/var/tmp] cd test-4
        (faui04a) [/var/tmp/test-4] gcp -a ~/work/repositories/public/easix.git/* .git/
        (faui04a) [/var/tmp/test-4] git-read-tree HEAD
        (faui04a) [/var/tmp/test-4] git-checkout-index -a -f
        (faui04a) [/var/tmp/test-4] git status
        fatal: /usr/bin/git-status cannot be used without a working tree.
        (faui04a) [/var/tmp/test-4] rm .git/config
        (faui04a) [/var/tmp/test-4] git status
        # On branch master
        # Changed but not updated:
        #   (use "git add/rm <file>..." to update what will be committed)
        #
        #       deleted:    profiles/icpc
        #       deleted:    profiles/sithglan
        #       deleted:    sources/boot.msg
        #       deleted:    sources/busybox-config
        #       deleted:    sources/config
        #       deleted:    sources/easix.logo.16
        #       deleted:    sources/easixdm
        #       deleted:    sources/f2
        #       deleted:    sources/home-faumachine.tar.gz
        #       deleted:    sources/home-icpc.tar.gz
        #       deleted:    sources/home-simigern.tar.gz
        #       deleted:    sources/home-sithglan.tar.gz
        #       deleted:    sources/home-sitowert.tar.gz
        #       deleted:    sources/linuxrc
        #       deleted:    sources/rc.local
        #
        no changes added to commit (use "git add" and/or "git commit -a")
        (faui04a) [/var/tmp/test-4] cd ..
        (faui04a) [/var/tmp] rm -rf test-4
        rm: Unable to remove directory test-4: File exists
        (faui04a) [/var/tmp]

                Thomas

  reply	other threads:[~2007-07-16 12:35 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 [this message]
2007-07-16 10:51   ` David Kastrup
2007-07-16 12:39     ` Thomas Glanzmann
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=20070716123510.GI24036@cip.informatik.uni-erlangen.de \
    --to=thomas@glanzmann.de \
    --cc=dak@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=torvalds@osdl.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).