From 6b914ec9168d52d50099bfd35d9e854c12a32e2b Mon Sep 17 00:00:00 2001 From: svxf Date: Sun, 14 Oct 2018 19:48:51 +0400 Subject: [PATCH] hotfix myfacl --- .zprezto/abra/functions.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zprezto/abra/functions.zsh b/.zprezto/abra/functions.zsh index 2ccbcbe..c32876f 100644 --- a/.zprezto/abra/functions.zsh +++ b/.zprezto/abra/functions.zsh @@ -7,8 +7,8 @@ function myfacl { fi setfacl -Rb "${@:2}" - setfacl -Rm "u:$1:rwX,g:$1:rwX,o::0" "${@:2}" - setfacl -Rdm "u:$1:rwX,g:$1:rwX,o::0" "${@:2}" + setfacl -Rm "u:${1}:rwX,g:${1}:rwX,o::0" "${@:2}" + setfacl -Rdm "u:${1}:rwX,g:${1}:rwX,o::0" "${@:2}" } function is_local {