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