Re: clone fails: Could not get the current working directory
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Sep 23, 2008, 14:12 UTC
- Message-ID
- <81b0412b0809230712u4a1cbe0fo69f558cbe9a26aae@mail.gmail.com>
- In-Reply-To
- <48D8EDDA.3050804@cs.tamu.edu>
2008/9/23 John Freeman <jfreeman@cs.tamu.edu>:
Show 13 quoted lines
> Alex Riesen wrote: >> >> 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' >> > > Yes, they do. I wish the mailing list did better threading; please see my > other posts if you happened to miss them: > > http://article.gmane.org/gmane.comp.version-control.git/96442 > http://article.gmane.org/gmane.comp.version-control.git/96505 >
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)