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, 12:39 UTC
Message-ID
<81b0412b0809230539x340bd579q3489d5e257b9740@mail.gmail.com>
In-Reply-To
<48D59A30.5020403@cs.tamu.edu>
2008/9/21 John Freeman <jfreeman@cs.tamu.edu>:
Show 11 quoted lines
> - The repository is bare, under Bob's home directory on a remote Sun system.
> - Bob has set the group permissions for the repo directory to repogroup.
> - I have an account on the remote system that is in repogroup.
>
> I am trying to clone the repo on my home machine, using
>
>> git clone ssh://john@remote.system.edu/home/bob/path/to/repo
>
> It fails with
>
> remote: fatal: Could not get the current working directory
Do these work:
  $ ssh john@remote.system.edu ls -R /home/bob/path/to/repo
  $ ssh john@remote.system.edu 'cd /home/bob/path/to/repo && pwd'
?
Previous: John FreemanNext: John Freeman
Message 2 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.