2024-11-16 13:04:50 +00:00
|
|
|
# change mode to directory
|
2024-11-19 08:17:14 +00:00
|
|
|
cmd() { sa__change_mode_directory "${@}"; }
|
|
|
|
sa__change_mode_directory() {
|
2024-11-16 13:03:13 +00:00
|
|
|
chmod \
|
|
|
|
"755" \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-09 20:02:34 +00:00
|
|
|
|
2024-11-16 13:04:50 +00:00
|
|
|
# change mode to file
|
2024-11-19 08:17:14 +00:00
|
|
|
cmf() { sa__change_mode_file "${@}"; }
|
|
|
|
sa__change_mode_file() {
|
2024-11-16 13:03:13 +00:00
|
|
|
chmod \
|
|
|
|
"644" \
|
|
|
|
"${@}"
|
|
|
|
}
|