Date: 4 Nov 1999 21:00:35 -0000 From: vladimir-bsd-stable@math.uic.edu To: freebsd-stable@freebsd.org Subject: Re: nfs problems Message-ID: <19991104210035.9660.qmail@math.uic.edu>
next in thread | raw e-mail | index | archive | help
I did some more testing: if a directory is on an NFS mounted partition and the mode on the directory is 711 (and the directory is not owned by root), after mount with NFS v.2 I can list the contents of the directory. Mounts with NFSv.3 produce expected results: root is not allowed to list the directory. I will submit a bug report. Vladimir > >Dear -STABLE Users, > >Can anyone please explain this: >We have a FBSD-3.3 NFS server serving files to a Solaris 7 NFS client >(galois.math.uic.edu). Here is /etc/exports on a BSD machine: > >/export/2 -network 131.193.180 -mask 255.255.255.0 >/export/2 -network 131.193.179 -mask 255.255.255.0 >/export/2 -network 131.193.178 -mask 255.255.255.0 > >galois.math.uic.edu is on 131.193.178 subnet. >export/2 is mounted on a solaris machine under /home/2. >The mode on /home/2/vladimir is 711: >$ ls -ld /home/2/vladimir >drwx--x--x 30 vladimir 4096 Nov 3 23:29 /home/2/vladimir > >However, root on galois is able to list files in /home/2/vladimir. >This is not the case when I mount a directory from a solaris NFS server: >directories with mode 711 cannot be listed. > >Also, we have 2 linux machines (with different kernel versions) >mounting directories from the same FBSD server -- on one of them >root is able to list directories, on the other one attempt to list >directories that have mode 711 produces "Operation not permitted" >message. > >This doesn't make any sense to me. Thanks for any explanations! > Vladimir > vladimir@math.uic.edu > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991104210035.9660.qmail>