15 lines
245 B
Bash
15 lines
245 B
Bash
# change owner to root
|
|
cor() { sa__change_owner_root "${@}"; }
|
|
sa__change_owner_root() {
|
|
chown \
|
|
"0:0" \
|
|
"${@}"
|
|
}
|
|
|
|
# change owner to user
|
|
cou() { sa__change_owner_user "${@}"; }
|
|
sa__change_owner_user() {
|
|
chown \
|
|
"1000:1000" \
|
|
"${@}"
|
|
}
|