From 81a311a744987564b70852fdacfd915523c73b5d Mon Sep 17 00:00:00 2001 From: Yazen Ghannam Date: Mon, 4 May 2015 12:33:16 -0400 Subject: [PATCH] Workunits : fs/misc/chmod.sh : Include ACL characters in permission check. Signed-off-by: Yazen Ghannam (cherry picked from commit d3dbfffefb0ae53583350f53258dc902670da659) --- qa/workunits/fs/misc/chmod.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/workunits/fs/misc/chmod.sh b/qa/workunits/fs/misc/chmod.sh index dd0552d09ae1f..de66776f108be 100755 --- a/qa/workunits/fs/misc/chmod.sh +++ b/qa/workunits/fs/misc/chmod.sh @@ -12,7 +12,9 @@ check_perms() { fi perms=$2 - if test "${perms}" != $(echo ${r} | awk '{print $1}'); then + if test "${perms}" != $(echo ${r} | awk '{print $1}') && \ + test "${perms}." != $(echo ${r} | awk '{print $1}') && \ + test "${perms}+" != $(echo ${r} | awk '{print $1}'); then echo "ERROR: Permissions should be ${perms}" exit 1 fi -- 2.39.5