Re: clone fails: Could not get the current working directory
- From
- John Freeman <jfreeman@cs.tamu.edu>
- Date
- Sep 21, 2008, 22:18 UTC
- Message-ID
- <48D6C822.7050602@cs.tamu.edu>
- In-Reply-To
- <d3a045300809211012l35b1ec2dq39f4174170d8c926@mail.gmail.com>
Paul Johnston wrote:
> On the server, where is git installed? I had a similar problem with > clone when my git installation was not in a PATH known to ssh.
It is installed in a non-standard directory, /opt/csg/bin. This is part of the system-wide PATH defined in /etc/bashrc. I also added it to my ~/.bashrc before I discovered that fact.
> Try > creating symlinks from usr/bin (for example) to your git executables > to see if this solves the problem.
I did create symlinks in $HOME/local/bin which is in the PATH defined in my ~/.bashrc. I do not have administrator privileges, so I cannot put symlinks in /usr/bin. I think it is finding the executable just fine, but that there is some issue with accessing the repo directory. I have tested with
> ssh user@remote.system.edu -- "git-upload-pack"
and it works as expected.
> Also, search the archives for > git-upload-pack. >
I've skimmed it, and I see nothing related to my problem. Specifying --upload-pack explicitly gives the same error.
Thank you for the response, though. Are there any other ideas?
- John