This commit is contained in:
Marc Beninca 2024-11-18 16:17:43 +01:00
parent d418c758d8
commit 12bc25233c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,12 +1,14 @@
# change owner to root # change owner to root
cor() { cor() { sh_a__change_owner_root "${@}"; }
sh_a__change_owner_root() {
chown \ chown \
"0:0" \ "0:0" \
"${@}" "${@}"
} }
# change owner to user # change owner to user
cou() { cou() { sh_a__change_owner_user "${@}"; }
sh_a__change_owner_user() {
chown \ chown \
"1000:1000" \ "1000:1000" \
"${@}" "${@}"