alias/chmod,chown
This commit is contained in:
parent
201ab282b1
commit
7276d4cfbc
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
# change mode to directory
|
# change mode to directory
|
||||||
cmd() { a__change_mode_directory "${@}"; }
|
#= cmd
|
||||||
a__change_mode_directory() {
|
a__change_mode_directory() {
|
||||||
chmod \
|
chmod \
|
||||||
"755" \
|
"755" \
|
||||||
|
@ -7,7 +7,7 @@ a__change_mode_directory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# change mode to file
|
# change mode to file
|
||||||
cmf() { a__change_mode_file "${@}"; }
|
#= cmf
|
||||||
a__change_mode_file() {
|
a__change_mode_file() {
|
||||||
chmod \
|
chmod \
|
||||||
"644" \
|
"644" \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# change owner to root
|
# change owner to root
|
||||||
cor() { a__change_owner_root "${@}"; }
|
#= cor
|
||||||
a__change_owner_root() {
|
a__change_owner_root() {
|
||||||
chown \
|
chown \
|
||||||
"0:0" \
|
"0:0" \
|
||||||
|
@ -7,7 +7,7 @@ a__change_owner_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# change owner to user
|
# change owner to user
|
||||||
cou() { a__change_owner_user "${@}"; }
|
#= cou
|
||||||
a__change_owner_user() {
|
a__change_owner_user() {
|
||||||
chown \
|
chown \
|
||||||
"1000:1000" \
|
"1000:1000" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue