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
cmd() { a__change_mode_directory "${@}"; }
#= cmd
a__change_mode_directory() {
chmod \
"755" \
@ -7,7 +7,7 @@ a__change_mode_directory() {
}
# change mode to file
cmf() { a__change_mode_file "${@}"; }
#= cmf
a__change_mode_file() {
chmod \
"644" \

View file

@ -1,5 +1,5 @@
# change owner to root
cor() { a__change_owner_root "${@}"; }
#= cor
a__change_owner_root() {
chown \
"0:0" \
@ -7,7 +7,7 @@ a__change_owner_root() {
}
# change owner to user
cou() { a__change_owner_user "${@}"; }
#= cou
a__change_owner_user() {
chown \
"1000:1000" \