hotfix myfacl

This commit is contained in:
2018-10-14 19:48:51 +04:00
parent 49c160bf4f
commit 6b914ec916

View File

@@ -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 {