From: Darrick J. Wong Date: Sat, 28 Jan 2017 17:38:19 +0000 (-0800) Subject: xfs/299: don't chmod the underlying mountpoints prior to mounting X-Git-Tag: v2022.05.01~2193 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c83c12e89e5f7e588a471bf962d4370a888b3ca7;p=users%2Fhch%2Fxfstests-dev.git 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 --- diff --git a/tests/xfs/299 b/tests/xfs/299 index d2670f87a..997c5dc0c 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 <