chown
This commit is contained in:
parent
e5620aab3f
commit
58ff7e976f
1 changed files with 14 additions and 4 deletions
|
@ -1,15 +1,25 @@
|
||||||
|
# chown
|
||||||
|
|
||||||
|
# change owner
|
||||||
|
#| chown
|
||||||
|
#= cor
|
||||||
|
rwx_change_owner() {
|
||||||
|
chown \
|
||||||
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# change owner to root
|
# change owner to root
|
||||||
#= cor
|
#= cor
|
||||||
a__change_owner_root() {
|
rwx_change_owner_root() {
|
||||||
chown \
|
rwx_change_owner \
|
||||||
"0:0" \
|
"0:0" \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# change owner to user
|
# change owner to user
|
||||||
#= cou
|
#= cou
|
||||||
a__change_owner_user() {
|
rwx_change_owner_user() {
|
||||||
chown \
|
rwx_change_owner \
|
||||||
"1000:1000" \
|
"1000:1000" \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue