On Wed, Nov 7, 2012 at 5:23 PM, TimH <[email protected]> wrote:
...
> using exports file like the following...
>
> /sharedstuff -alldirs -mapall=testuser1 -network=172.20.0 -mask=255.255.255.0
>
> Everything will work as expected at boot time.  However if we change
> the mapall user to something else (say, testuser2), and reload the
> configuration, the permissions on created files act as if we have not
> made any changes.

Hmm, it works for me, using an exports of

/usr/src -mapall=guenther 127.0.0.1
/usr/obj -mapall=guenther 127.0.0.1

and switching the -mapall on /usr/src from "guenther" to "otheruser",
pkill -HUP mountd, then testing by creating a file in a mode 777
directory on the NFS mount from 127.0.0.1.  Various other switches and
tests show that it doesn't seem to be related to the sorting of the
directory names.

So: need more data.  Run mountd yourself with the -d option and snag
the *complete* output from start, making changes to /etc/exports and
HUP'ing it, etc.


Philip Guenther

Reply via email to