diff --git a/bin/qemush b/bin/qemush index 507abb2..55bac84 100755 --- a/bin/qemush +++ b/bin/qemush @@ -25,6 +25,7 @@ PATH="./${bin}:${PATH}" EDITOR="${EDITOR:-nvim}" alias ls='ls --color=auto' shopt -s expand_aliases +umask 027 perror() { >&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*" @@ -95,7 +96,7 @@ public_diskls() { public_edit() { local file="${bin}/${1}" "$EDITOR" "$file" - exec chmod 740 "$file" + exec chmod u+x "$file" } public_rm() {