From: gunter@mbfys.kun.nl (Gunter Windau) Subject: Re: NFS: can it be write for root? Date: Thu, 1 Apr 1993 10:41:07 GMT
gthomas@fraser.sfu.ca (Guy Thomas) writes:
>I have NFS mounted several directories from a NeXT to the Linux box.
>For ordinary users they write and read fine. I have tried to
>configure the mount so that root can write to the mounted directories
>as well
>mount -w host:/export/directory /mount/point
"-w" should not be needed as it's the default.
>In the /etc/exports file on the NeXT is
>/export/directory -rw=deer -access=linux-host -root=linux-host
On the Ultrix systems at the dept. here /etc/exports entries
look like this:
/home7 -r=0 severus avitus
"-r=0" means that users on hosts severus and avitus with uid=0 have root
privileges on the mounted filesystem. Default is "-r=2" which is the uid
for "nobody", so in effect no user has root privileges on the
filesystem.
But this is Bugtrix :-) and not NeXT, so it may behave differently.
>The mount does not seem to recognize that root can have access.
>Is this an artifact of the NeXT implementation of NFS or of the
>mount on Linux?
>Any hints welcome.
I suggest reading the manual page of exports(5)
G\"unter