chmod
This commit is contained in:
parent
4cbdeae4e9
commit
ef0a7a6f28
1 changed files with 4 additions and 2 deletions
|
@ -1,12 +1,14 @@
|
||||||
# change mode to directory
|
# change mode to directory
|
||||||
cmd() {
|
cmd() { sh_a__change_mode_directory "${@}"; }
|
||||||
|
sh_a__change_mode_directory() {
|
||||||
chmod \
|
chmod \
|
||||||
"755" \
|
"755" \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# change mode to file
|
# change mode to file
|
||||||
cmf() {
|
cmf() { sh_a__change_mode_file "${@}"; }
|
||||||
|
sh_a__change_mode_file() {
|
||||||
chmod \
|
chmod \
|
||||||
"644" \
|
"644" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
Loading…
Reference in a new issue