]> git.proxmox.com Git - mirror_zfs.git/commit
Modify sharenfs=on default behavior
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Oct 2019 02:13:26 +0000 (19:13 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2019 02:13:26 +0000 (19:13 -0700)
commitd292307212d68016455422a3fe764968f552b031
treefe8d0e29ce688e8d9de542a0c5eb3d6c262dba6d
parent2c6fa6eafbac4acffb1304132a8e06cfe4d71cde
Modify sharenfs=on default behavior

While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior.  Align the
default behavior with the Linux NFS server defaults.  To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9397
Closes #9425
lib/libshare/nfs.c
man/man8/zfs.8