[1143] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Bizzare NFS problem

daemon@ATHENA.MIT.EDU (Nathan J Williams)
Sun Dec 3 16:57:19 1995

Date: Sun, 3 Dec 1995 16:57:03 -0500
From: Nathan J Williams <nathanw@MIT.EDU>
To: netbsd-dev@MIT.EDU


	I've run across a peculiar buggy interaction of the NetBSD NFS
client and a Linux NFS server; I'm not sure where to lay the blame,
but I've only had the problem on NetBSD machines (lola and ringworld,
specifically).

	I had mounted a file system from a Linux NFS server, and had
the following problems:

athena% ls -ali
ls: ..: Permission denied
total 8
1476838322 drwxrws---  5 nathanw  6.170-te  1024 Dec  3 16:49 .
1476838323 drwxrws---  2 nathanw  6.170-te  1024 Nov 29 15:36 CVSROOT
1476637297 drwxrws---  2 nathanw  6.170-te  1024 Dec  3 16:42 antichess
1476838356 drwxrwxrwx  2 root     6.170-te  1024 Dec  3 16:49 test
athena% cd test
athena% ls -ali
ls: ..: Permission denied
total 2
1476838356 drwxrwxrwx  2 root  6.170-te  1024 Dec  3 16:49 .
athena% touch foo
touch: foo: Permission denied
athena% cd ..
..: Permission denied.
athena% 


	Essentially, lots of permission stuff seemed to be broken; I
don't know why it would prevent me from writing into a mode 777
directory under normal circumstances, or why stat would work for a
directory '.' but not the same directory as '..'.

	I tried looking at the debugging output of the NFS server, but
I was unable to glean any useful information from it.

	- Nathan

home help back first fref pref prev next nref lref last post