chown
This commit is contained in:
parent
d418c758d8
commit
12bc25233c
1 changed files with 4 additions and 2 deletions
|
@ -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" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
Loading…
Reference in a new issue