diff --git a/sh/alias/chown.sh b/sh/alias/chown.sh index f7bbef9..6a7a156 100644 --- a/sh/alias/chown.sh +++ b/sh/alias/chown.sh @@ -1,12 +1,14 @@ # change owner to root -cor() { +cor() { sh_a__change_owner_root "${@}"; } +sh_a__change_owner_root() { chown \ "0:0" \ "${@}" } # change owner to user -cou() { +cou() { sh_a__change_owner_user "${@}"; } +sh_a__change_owner_user() { chown \ "1000:1000" \ "${@}"