qemush : chmod dans la fonction edit
This commit is contained in:
parent
2d53034837
commit
2cdd2427a2
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue