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

Re: clone fails: Could not get the current working directory

From
Alex Riesen <raa.lkml@gmail.com>
Date
Sep 23, 2008, 15:01 UTC
Message-ID
<81b0412b0809230801l2e6b1a71v1210317fe636aeba@mail.gmail.com>
In-Reply-To
<48D90125.3090703@cs.tamu.edu>
2008/9/23 John Freeman <jfreeman@cs.tamu.edu>:
Show 14 quoted lines
> Alex Riesen wrote:
>>
>> Saw them. .bashrc (/etc/bashrc too) is not used for non-interactive
>> sessions,
>> like yours (of course, you can source them from
>> .profile/.bash_login/.bash_profile).
>>
>> Have you tried the commands exactly? (Even more interesting would be to
>> try
>> a simple getpwd program which prints errno)
>>
>
> I have.  I'm convinced that the problem is not missing commands; if it were,
> I'd be getting a "missing command," or "file not found," or similar error.

I actually expected "ls -R" giving error about unable to read the directory (permissions).

>  Like I've said, I am able to get this to work when the repo is in my home
> directory.  It only fails when the repo is on another path in the system for
> which I do not have read privileges all the way down - only at the end.
Again: try a simple program which just does getpwd for this pathname
Previous: John FreemanNext: John Freeman
Message 6 of 12 in “clone fails: Could not get the current working directory”
  1. John FreemanSep 21, 2008
  2. Alex RiesenSep 23, 2008
  3. John FreemanSep 23, 2008
  4. Alex RiesenSep 23, 2008
  5. John FreemanSep 23, 2008
  6. Alex RiesenSep 23, 2008
  7. John FreemanSep 23, 2008
  8. Alex RiesenSep 24, 2008
  9. John FreemanSep 24, 2008
  10. Alex RiesenSep 24, 2008
  11. John FreemanSep 21, 2008
  12. John FreemanSep 22, 2008

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.