alias/chmod,chown

This commit is contained in:
Marc Beninca 2025-07-06 19:12:38 +02:00
parent 201ab282b1
commit 7276d4cfbc
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 4 deletions

View file

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

View file

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