From c83c12e89e5f7e588a471bf962d4370a888b3ca7 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Sat, 28 Jan 2017 09:38:19 -0800 Subject: [PATCH] xfs/299: don't chmod the underlying mountpoints prior to mounting It's silly to make $SCRATCH_MNT world writable just prior to mounting the scratch device; instead, do it after the mount. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- tests/xfs/299 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/xfs/299 b/tests/xfs/299 index d2670f87..997c5dc0 100755 --- a/tests/xfs/299 +++ b/tests/xfs/299 @@ -203,9 +203,6 @@ cat $tmp.mkfs >>$seqres.full # keep the blocksize and data size for dd later . $tmp.mkfs -# non-root users need to be able to write to this filesystem -chmod 777 $SCRATCH_MNT - cat >$tmp.projects <