From 7c2e4234093542c61c6c0c7e2a91878f602dbf22 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Tue, 19 Jan 2016 17:49:11 +0000 Subject: tests: avoid false failure due to remove() ignoring u-w on NFS * tests/rm/rm1.sh: Also remove the group write bit which was required on one NFS setup at least. Note u-w was enough to deny file creation, g-w was also required to deny file removal. * tests/rm/cycle.sh: Likewise. * tests/mv/perm-1.sh: Likewise. --- tests/mv/perm-1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mv/perm-1.sh') diff --git a/tests/mv/perm-1.sh b/tests/mv/perm-1.sh index f793c0188..651856887 100755 --- a/tests/mv/perm-1.sh +++ b/tests/mv/perm-1.sh @@ -22,7 +22,7 @@ print_ver_ mv skip_if_root_ mkdir -p no-write/dir || framework_failure_ -chmod u-w no-write || framework_failure_ +chmod ug-w no-write || framework_failure_ mv no-write/dir . > out 2>&1 && fail=1 -- cgit v1.2.3-70-g09d2