Problem with 'find'
Mark Runyan
runyan at hpirs.HP.COM
Wed Jan 17 04:11:24 AEST 1990
>/ mcd at mcdd1.UUCP (Martin Dew) / 6:35 am Jan 11, 1990 /
>When I execute the command line :
>
> find . -name t.c -print
>
>I get the response :
>
> find cannot execute 'pwd'
>
>'Pwd' exists and is available on typing 'pwd' on its own.
>
>Any ideas why I am having problems ?????????????
May depend on your shell. A long time ago, I noticed that csh
does it's own pwd. If /bin/pwd exists, try executing it as "/bin/pwd"
and see if you get results. If not, then it may be that the
directory you are in has permissions that keeps pwd from finding
out where you are.
Another thing to examine: Are you on an NFS mount? If so, you may find
that some programs know what to do to get pwd while others fail.
Programs that use libPW curdir() function may have some difficulty if
that function wasn't updated to understand NFS or other remote mounting
systems.
If all of the above doesn't help, then provide more information, please.
Mark Runyan
More information about the Comp.unix.questions
mailing list