 |
 |
shell-init: could not get current directory
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Hmm, something new when I ssh to my machine... must've (?) cropped up with either the 10.2.5 update (which amazingly did not change permissions on /), or the Safari update (which did).
So what is this message trying to tell me?
(I get this when I ssh to my Mac, altho I do get logged in to my $HOME)
password:
shell-init: could not get current directory: getcwd: cannot access parent direct
ories: No such file or directory
Last login: Tue Apr 22 07:21:26 2003
Welcome to Darwin!
Thanks,
Mike
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
shell-init: could not get current directory: getcwd: cannot access parent direct
ories: No such file or directory
Questions:[list=1][*]Which shell?[*]Do you get the same message when local (i.e. opening the Terminal.app from your Mac)?[*]Is it the same shell when local or remote?[*]Is it the same account? (Might want to do a whoami from each to confirm.)[/list=1]
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Originally posted by Rainy Day:
Questions:[list=1][*]Which shell?[*]Do you get the same message when local (i.e. opening the Terminal.app from your Mac)?[*]Is it the same shell when local or remote?[*]Is it the same account? (Might want to do a whoami from each to confirm.)[/list=1]
1) I use tcsh local and remote.
2) I do not get this via Terminal. Nor do I get it every time I ssh in (seen it twice now in the past 3 days.
3) yes, same user.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
You don't see it every time you SSH in? Curious. Without seeing your tcsh configuration files, it would be hard to say what, exactly, might be causing it. It would appear to be having problems accessing a directory somewhere along the way, although that directory is not your $HOME directory. The fact that you don't see it every time suggests that something is changing between log-ins which either prevents it from accessing whatever directory some of the time, or not to look in the forbidden directory some of the time.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Originally posted by Rainy Day:
You don't see it every time you SSH in? Curious. Without seeing your tcsh configuration files, it would be hard to say what, exactly, might be causing it. It would appear to be having problems accessing a directory somewhere along the way, although that directory is not your $HOME directory. The fact that you don't see it every time suggests that something is changing between log-ins which either prevents it from accessing whatever directory some of the time, or not to look in the forbidden directory some of the time.
Yep, its a curious one. My .cshrc, login, .aliases have not been touched since Mar 2... and are mostly the same ones I have been carting around from job to job since the early 90's....
I did enable X11 Forwarding the other day... perhaps I shall experiment with Apple X11 not/running with some logins.
Guess I shoulda looked at the log files (just thought of that)
Mike 
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|