mv
This commit is contained in:
parent
58ff7e976f
commit
68203259cf
1 changed files with 0 additions and 0 deletions
25
sh/io/chown.sh
Normal file
25
sh/io/chown.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
# chown
|
||||
|
||||
# change owner
|
||||
#| chown
|
||||
#= cor
|
||||
rwx_change_owner() {
|
||||
chown \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# change owner to root
|
||||
#= cor
|
||||
rwx_change_owner_root() {
|
||||
rwx_change_owner \
|
||||
"0:0" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# change owner to user
|
||||
#= cou
|
||||
rwx_change_owner_user() {
|
||||
rwx_change_owner \
|
||||
"1000:1000" \
|
||||
"${@}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue