This commit is contained in:
Marc Beninca 2024-11-16 14:04:50 +01:00
parent 97389ceef7
commit 524ddb8968
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 14 additions and 12 deletions

View file

@ -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" \

View file

@ -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" \
" "${@}"
}