cor,cou
This commit is contained in:
parent
97389ceef7
commit
524ddb8968
2 changed files with 14 additions and 12 deletions
|
@ -1,11 +1,11 @@
|
||||||
# change mode as directory
|
# change mode to directory
|
||||||
cmd() {
|
cmd() {
|
||||||
chmod \
|
chmod \
|
||||||
"755" \
|
"755" \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# change mode as file
|
# change mode to file
|
||||||
cmf() {
|
cmf() {
|
||||||
chmod \
|
chmod \
|
||||||
"644" \
|
"644" \
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
# change owner as root
|
# change owner to root
|
||||||
alias cor="\
|
cor() {
|
||||||
chown \
|
chown \
|
||||||
\"0:0\" \
|
"0:0" \
|
||||||
"
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# change owner as user
|
# change owner to user
|
||||||
alias cou="\
|
cou() {
|
||||||
chown \
|
chown \
|
||||||
\"1000:1000\" \
|
"1000:1000" \
|
||||||
"
|
"${@}"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue