summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2014-02-11 13:16:38 +0530
committerVijay Bellur <vbellur@redhat.com>2014-02-12 06:27:42 -0800
commit2e093c728c856a41399ffdcf33c91d21c3a2f0f2 (patch)
tree368890fab58ff3136b23c1e6ba40e5297128e8a8 /xlators/mount/fuse/utils
parent8148dc2eab154e94d2c9e041cc0abbba9845ce51 (diff)
mount.glusterfs: backward compatible option for root-squashing
Change-Id: I74fa6686cff84cfad4a2587a0061e6bb2beea081 BUG: 954057 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/6975 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/utils')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index d22f6a69b1e..b7718b35f93 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -446,6 +446,13 @@ with_options()
"use-readdirp")
use_readdirp=$value
;;
+ "no-root-squash")
+ if [ $value == "yes" ] ||
+ [ $value == "on" ] ||
+ [ $value == "enable" ] ||
+ [ $value == "true" ] ; then
+ no_root_squash=1;
+ fi ;;
"root-squash")
if [ $value == "no" ] ||
[ $value == "off" ] ||