From ac07afa2055e2ed2b893192bdd53aa6f9e5e7ad9 Mon Sep 17 00:00:00 2001 From: Sam Lang Date: Mon, 22 Oct 2012 15:24:09 -0500 Subject: [PATCH] test: Dont check initial permissions We can't check the initial permissions of the file because the umask may be set to something other than 0022. The check isn't needed to check for chmod correctness anyway. Signed-off-by: Sam Lang --- qa/workunits/misc/chmod.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/qa/workunits/misc/chmod.sh b/qa/workunits/misc/chmod.sh index b6065c1263b79..dd0552d09ae1f 100755 --- a/qa/workunits/misc/chmod.sh +++ b/qa/workunits/misc/chmod.sh @@ -26,8 +26,6 @@ if test $? != 0; then exit 1 fi -check_perms ${file} "-rw-r--r--" - chmod 400 ${file} if test $? != 0; then echo "ERROR: Failed to change mode of ${file}" -- 2.39.5