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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx -- "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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux