summaryrefslogtreecommitdiffstats
path: root/Geo-rep-scripts/node_fop_chmod_dir.sh
diff options
context:
space:
mode:
authorUjjwala <ujjwala@gluster.com>2011-12-08 15:08:17 +0530
committerUjjwala <ujjwala@gluster.com>2011-12-08 15:08:17 +0530
commit7b6014ce85b4dfca6616f137665cd00e5624c4b0 (patch)
treed208987ebcbcdec5d27fbf15488acb30e54cd6c9 /Geo-rep-scripts/node_fop_chmod_dir.sh
parentec0a69e378a90fc8ccc09e2234ab3e0f2ce69182 (diff)
gsync scripts
Diffstat (limited to 'Geo-rep-scripts/node_fop_chmod_dir.sh')
-rw-r--r--Geo-rep-scripts/node_fop_chmod_dir.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/Geo-rep-scripts/node_fop_chmod_dir.sh b/Geo-rep-scripts/node_fop_chmod_dir.sh
new file mode 100644
index 0000000..ba7cdf7
--- /dev/null
+++ b/Geo-rep-scripts/node_fop_chmod_dir.sh
@@ -0,0 +1,11 @@
+source ./config
+fop="chmod"
+rm -rf $MNT_PT/*
+mkdir $MNT_PT/d1/d2/d3/d4/d5 -p
+echo "Before $fop"
+show_backend
+$XTIME_PATH/xtime.rb $MNT_PT_NEG_PID
+echo "AFTER $fop"
+chmod -R 700 $MNT_PT/d1/d2/d3/d4/d5
+$XTIME_PATH/xtime.rb $MNT_PT_NEG_PID
+show_backend