[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS no_root_squash not working (permission denied)



On Mon, Aug 08, 2016 at 11:14:36AM -0400, Greg Wooledge wrote:
> It appears that no_root_squash is being ignored.
> 
> 1) NFS server: svr4 (jessie)
> 
> /home           -no_subtree_check arc1(ro,no_root_squash,sync)

Nobody? :(

Additional information:

 * It's not limited to /home.  Other exported directories that should
   be no_root_squash'ed are in fact squashed.

 * It's not limited to the squeeze client arc1.  Mounting from another
   client (jessie) still shows the problem.

 * The previous machine where it worked was i386.  The current machine
   where it's *not* working is amd64.

 * I have another jessie i386 server where no_root_squash works fine.

 * If I install nfs-kernel-server on my jessie amd64 desktop PC and
   configure /home for export (exactly the same config as above) and
   do "sudo systemctl restart nfs-kernel-server.service" to get rpc.mountd
   to run, it fails just like svr4.

My conclusion at this point is no_root_squash is completely broken on
jessie amd64, at least in the default configuration.  It works on
jessie i386.

Is there ANYONE using NFS with no_root_squash on jessie amd64 successfully?
If so, please tell me how you did it!


Reply to: