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
|
||||
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" \
|
||||
"${@}"
|
||||
|
|
Loading…
Reference in a new issue