Subject: Re: weird nfs probs
To: Michael Bartosh <bartosh@apple.tamu.edu>
From: David Brownlee <abs@netbsd.org>
List: port-mac68k
Date: 01/15/2000 17:56:35
On Fri, 14 Jan 2000, Michael Bartosh wrote:
> a) check this out:
> >Filesystem 1K-blocks Used Avail Capacity Mounted on
> >/dev/sd0a 195753 75985 100192 43% /
> >kernfs 1 1 0 100% /kern
> >procfs 4 4 0 100% /proc
> >192.168.1.1:/tmp 1023964 32840 991124 3% /Network/tmp
> >192.168.1.1:/tmp 1023964 32840 991124 3% /Network/tmp
>
> ?? is this part of the spooky df problem???
>
You've probably run the mount command twice?
> b) the dir I'm exporting is world readable and writable (a temp dir
> for my local lan). On the netbsd box it looks like this:
> >laughter# ls -l /Network
> >total 1
> >d-wx--xrwx 3 root wheel 56 Jan 14 18:40 tmp
>
> and on the linux box it looks like this:
> >bartosh@heretic bartosh]$ ls -l / | grep tmp
> >d-wx--xrwx 3 root root 56 Jan 14 21:40 tmp
>
> On the linux box, naturally, anyone can rdd or write to it. However
> on the netbsd side, root can rw and bartosh can only w, not read.
>
You need to to set -maproot=root on the nfs server - under
linux is probably something like 'nosquashroot'..
David/absolute