[comp.unix.i386] pwd: read error in ..

teb@peyote.cactus.org (Thomas E. Bernhard) (03/14/90)

I'm experiencing trouble with mounted file systems from Interactive I386.
Using Interactive NFS, I have a Sun 3/80 (SunOS 4.01) file system mounted.
Anytime I do a pwd on a subdirectory of this mounted volume I get:
	pwd: read error in ..

I've check the permissions of the directory and I can't seem to account for
the problem. Is this a configuration problem? or Is this a bug? If it
is a configuration problem can anyone help me?

Many Thanks in advance...

Thomas Bernhard
Ryan McFarland Corp.
Austin, Texas
512/343-1010

peyote!teb

aland@infmx.UUCP (Dr. Scump) (03/14/90)

In article <480@peyote.cactus.org> teb@peyote.cactus.org (Thomas E. Bernhard) writes:
>I'm experiencing trouble with mounted file systems from Interactive I386.
>Using Interactive NFS, I have a Sun 3/80 (SunOS 4.01) file system mounted.
>Anytime I do a pwd on a subdirectory of this mounted volume I get:
>	pwd: read error in ..
>
>I've check the permissions of the directory and I can't seem to account for
>the problem. Is this a configuration problem? or Is this a bug? If it
>is a configuration problem can anyone help me?
>
>Many Thanks in advance...
>Thomas Bernhard

I've seen this before when the local and remote machines were both Suns
when the permissions on the mount point were too restrictive.  Try
umount-ing the NFS file system and check the permissions on the
directory that you are mounting to.  If they are less than 777,
try chmod-ing to 777 and re-mount the NFS filesystem and see what
happens.

Also, how "friendly" do the systems consider each other (e.g.
hosts.equiv) ?

--
Alan S. Denney # Informix # aland@informix.com # {pyramid|uunet}!infmx!aland
 CAUTION: Objects in terminal are closer than they appear...
 Disclaimer: These opinions are mine alone.  If I am caught or killed,
             the secretary will disavow any knowledge of my actions.

 "These tests will have no effect on your grades.  They will merely
  determine your future social status and financial success, if any."
  

md@sco.COM (Michael Davidson) (03/15/90)

teb@peyote.cactus.org (Thomas E. Bernhard) writes:

>I'm experiencing trouble with mounted file systems from Interactive I386.
>Using Interactive NFS, I have a Sun 3/80 (SunOS 4.01) file system mounted.
>Anytime I do a pwd on a subdirectory of this mounted volume I get:
>	pwd: read error in ..
It's a bug - they obviously are not using filesystem independent
directory handling routines (ie ones that ultimately use the
getdents() system call to get directory entries) - I expect that
you will discover that find and tar don't work correctly either and
that ls truncates filenames to 14 characters (it probably also
dumps core on *very* long filename). Do shell filename metacharactesr
( * ? etc ) work correctly? They might be broken too...

guy@auspex.auspex.com (Guy Harris) (03/16/90)

 >I've seen this before when the local and remote machines were both Suns
 >when the permissions on the mount point were too restrictive.  Try
 >umount-ing the NFS file system and check the permissions on the
 >directory that you are mounting to.  If they are less than 777,
 >try chmod-ing to 777 and re-mount the NFS filesystem and see what
 >happens.

r-xr-xr-x (or, for the hopelessly numeric, 555) should be sufficient
(taking away all write permission may help prevent people from sticking
stuff in the mounted-on directory when nothing is mounted on it, if that
ends up being a problem).