qemush : chmod dans la fonction edit

This commit is contained in:
Hippolyte Chauvin 2023-12-01 16:09:00 +01:00
parent 2d53034837
commit 2cdd2427a2

View file

@ -95,7 +95,9 @@ public_diskls() {
} }
public_edit() { public_edit() {
"$EDITOR" "${bin}/${1}" local file="${bin}/${1}"
"$EDITOR" "$file"
exec chmod 740 "$file"
} }
public_rm() { public_rm() {