<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Robert Becker Cope wrote:
<blockquote
cite="midOF8703070A.41FA99D5-ON86257293.00433893@bytestacker.com"
type="cite">
<pre wrap="">Theo Band <a class="moz-txt-link-rfc2396E" href="mailto:theo.band@xanadu-wireless.com"><theo.band@xanadu-wireless.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">[thba@vink layout]$ nc script/xw_functions.ample
NEdit: getcwd() fails: No such file or directory
NEdit: getcwd() fails: No such file or directory
[thba@vink layout]$ ll script/xw_functions.ample
-rw-rw-r-- 1 thba thba 16829 Oct 25 16:59 script/xw_functions.ample
[thba@vink layout]$ pwd
/home/thba/workarea/colibri/design/ana/layout
[thba@vink layout]$ /bin/pwd
/bin/pwd: cannot get current directory: No such file or directory
</pre>
</blockquote>
<pre wrap=""><!---->
This is typical when the directory you are in has been removed out from under
you. Try this:
Log into two shells (or use screen, or whatever), A and B. In A, do "cd ~;
mkdir -p xxx/yyy; cd xxx/yyy; touch 123; ls -l 123". Then, in B, do "cd ~; rm
-rf xxx". Finally, back in A, repeat what you did above, "ls -l 123; pwd;
/bin/pwd". You will find the behavior is the same.
Good luck,
robert
</pre>
</blockquote>
Then you have a stale NFS handle. That is not the same error message
I'm getting:<br>
[thba@scholekster yyy]$ ls -l 123<br>
ls: 123: Stale NFS file handle<br>
<br>
The directories have not changed at all, still the shell complains.<br>
<br>
Cheers,<br>
Theo<br>
<br>
</body>
</html>