From af7386713c33a476f6094d0c53a518a2c6b2c015 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 13 Sep 2020 14:09:38 +0200 Subject: stress_tests/fsstress-gocryptfs.bash: use rm -Rf for cleanup Apparently, kernel 5.8 now allows unprivileged "mknod /tmp/x c 0 0": vfs: allow unprivileged whiteout creation https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.8.9&id=a3c751a50fe6bbe50eb7622a14b18b361804ee0c which is why rm throws a new prompt: rm: remove write-protected character special file '...'? Use rm -Rf to suppress that. --- tests/stress_tests/fsstress-gocryptfs.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stress_tests/fsstress-gocryptfs.bash b/tests/stress_tests/fsstress-gocryptfs.bash index 0a79c76..0104bb3 100755 --- a/tests/stress_tests/fsstress-gocryptfs.bash +++ b/tests/stress_tests/fsstress-gocryptfs.bash @@ -102,7 +102,7 @@ do wait echo " rm" - rm -R $MNT/* + rm -Rf $MNT/* let N=$N+1 done -- cgit v1.2.3