update myfacl
This commit is contained in:
@@ -7,14 +7,14 @@ function myfacl {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R "${1}:${1}" "${@:2}"
|
chown -R "${1}:${1}" "${@:2}"
|
||||||
chmod -R u=rwX,g=rX,o= "${@:2}"
|
chmod -R u=rwX,g=rwX,o= "${@:2}"
|
||||||
|
|
||||||
setfacl -Rb "${@:2}"
|
setfacl -Rb "${@:2}"
|
||||||
setfacl -Rm "\
|
setfacl -Rm "\
|
||||||
user:${1}:rwX,\
|
user:${1}:rwX,\
|
||||||
default:user:${1}:rwX,\
|
default:user:${1}:rwX,\
|
||||||
group:${1}:rX,\
|
group:${1}:rwX,\
|
||||||
default:group:${1}:rX,\
|
default:group:${1}:rwX,\
|
||||||
other::0,\
|
other::0,\
|
||||||
default:other::0\
|
default:other::0\
|
||||||
" "${@:2}"
|
" "${@:2}"
|
||||||
|
Reference in New Issue
Block a user