2024-11-16 14:04:50 +01:00
|
|
|
# change owner to root
|
2024-11-19 09:17:14 +01:00
|
|
|
cor() { sa__change_owner_root "${@}"; }
|
|
|
|
sa__change_owner_root() {
|
2024-11-16 14:04:50 +01:00
|
|
|
chown \
|
|
|
|
"0:0" \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-09 22:02:34 +02:00
|
|
|
|
2024-11-16 14:04:50 +01:00
|
|
|
# change owner to user
|
2024-11-19 09:17:14 +01:00
|
|
|
cou() { sa__change_owner_user "${@}"; }
|
|
|
|
sa__change_owner_user() {
|
2024-11-16 14:04:50 +01:00
|
|
|
chown \
|
|
|
|
"1000:1000" \
|
|
|
|
"${@}"
|
|
|
|
}
|