SUMMARY: what is wrong?

Kejia Shi Z/BI (erakeia@lmera.ericsson.se)
Fri, 21 Mar 1997 14:46:13 +0100

> Sun managers!
>
> I want to mount a directory.
> What is wrong in the following process:
>
> NFS server:
> SunOS zbmas1o 5.5.1 Generic_103640-05 sun4m sparc SUNW,SPARCstation-20
>
> Client:
> SunOS zbws01o 5.5.1 Generic_103640-05 sun4m sparc SUNW,SPARCstation-4
>
> On NFS server> mkdir /zzz
> On NFS server> cd /zzz
> On NFS server> touch xx
> On NFS server> more /etc/dfs/dfstab
> ...
> share -F nfs -o
> rw=zbomcoall,root=zbdat1o:zbdat2o:zbmas1o:wsonodisk:zbws01o:zbws02o /zzz
> On NFS server> share -F nfs -o rw /zzz
> ^^^^^^^^^^^^^^^^^^^^^^^

> On client> mount zbmas1o:/zzz /zzz
> On client> cd /zzz
> On client> echo qaz >> xx
> On client> xx: Permission denied
>
> Why?

Answer:

It looks like your 'share' command (above) is overriding the options
specified in dfstab. If you run 'shareall' it should fix the problem.

Or remove the option in dfstab.

Thanks to
Dan Lorenzini
Luca Pizzinato
..

Kejia