__acl: check for X after last occurrence of colon

This commit is contained in:
ander 2019-04-16 23:36:54 +03:00
parent f23099218a
commit 68f61c35ff

View file

@ -37,7 +37,7 @@ do
while read -r acl
do
if echo "$acl" | grep -Fq 'X'
if echo "$acl" | sed -r 's/(.*)://' | grep -Fq 'X'
then
if [ "$is_dir" = '1' ]
then