summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/emacsclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index f14c6c63..2c1dcc41 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -53,7 +53,7 @@ maybe_notify () {
}
spw_flock () {
- mkdir -p "$locks_dir"
+ ( umask 077; mkdir -p "$locks_dir" )
eval "exec $1<>${locks_dir}$2"
if ! flock --wait 15 "$1"; then
maybe_notify "couldn't lock starting Emacs daemon named $2"