git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 <dak@gnu.org>
Date
Jul 16, 2007, 10:48 UTC
Message-ID
<86ejj8aakq.fsf@lola.quinscape.zz>
In-Reply-To
<20070716104342.GB24036@cip.informatik.uni-erlangen.de>
Thomas Glanzmann <thomas@glanzmann.de> writes:
Show 24 quoted lines
> Hello,
> I narrowed it down. It is in "git checkout" if I copy the ".git" dir via
> "cp -a" and type in "git checkout" it breaks. And it _only_ breaks for
> subdirectories:
>
>         (faui04a) [/var/tmp/shit] git checkout
>         D       profiles/icpc
>         D       profiles/sithglan
>         D       sources/boot.msg
>         D       sources/busybox-config
>         D       sources/config
>         D       sources/easix.logo.16
>         D       sources/easixdm
>         D       sources/f2
>         D       sources/home-faumachine.tar.gz
>         D       sources/home-icpc.tar.gz
>         D       sources/home-simigern.tar.gz
>         D       sources/home-sithglan.tar.gz
>         D       sources/home-sitowert.tar.gz
>         D       sources/linuxrc
>         D       sources/rc.local
>
> and I also see that _one_ file in each subdirectory is checked out but the
> others are not.
Ok, stupidly trying one of our most frequently encountered problems:

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

-- 
David Kastrup
Previous: Thomas GlanzmannNext: Thomas Glanzmann
Message 3 of 25 in “"git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)”
  1. Thomas GlanzmannJul 16, 2007
  2. Thomas GlanzmannJul 16, 2007
  3. David KastrupJul 16, 2007
  4. Thomas GlanzmannJul 16, 2007
  5. David KastrupJul 16, 2007
  6. Thomas GlanzmannJul 16, 2007
  7. David KastrupJul 16, 2007
  8. Thomas GlanzmannJul 16, 2007
  9. Thomas GlanzmannJul 16, 2007
  10. Thomas GlanzmannJul 16, 2007
  11. Thomas GlanzmannJul 16, 2007
  12. David KastrupJul 16, 2007
  13. Linus TorvaldsJul 16, 2007
  14. Linus TorvaldsJul 16, 2007
  15. Thomas GlanzmannJul 16, 2007
  16. Thomas GlanzmannJul 16, 2007
  17. Thomas GlanzmannJul 18, 2007
  18. Linus TorvaldsJul 18, 2007
  19. Thomas GlanzmannJul 18, 2007
  20. Thomas GlanzmannJul 16, 2007
  21. Johannes SixtJul 16, 2007
  22. Brian DowningJul 16, 2007
  23. Brian DowningJul 16, 2007
  24. David KastrupJul 16, 2007
  25. Thomas GlanzmannJul 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.