From 2cdd2427a22c4001df82dbe5b53232ac50eb53ba Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 1 Dec 2023 16:09:00 +0100 Subject: [PATCH] qemush : chmod dans la fonction edit --- bin/qemush | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/qemush b/bin/qemush index ca51748..2ce6b4c 100755 --- a/bin/qemush +++ b/bin/qemush @@ -95,7 +95,9 @@ public_diskls() { } public_edit() { - "$EDITOR" "${bin}/${1}" + local file="${bin}/${1}" + "$EDITOR" "$file" + exec chmod 740 "$file" } public_rm() {