tMerge pull request #3650 from SomberNight/daemon_lockfile_not_exec - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c4e4d8a1dd08932f6054b91ca5c02052ee2bbbc9 DIR parent aeee5e907c5252169e621222beb7ace0f980bef7 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 6 Jan 2018 12:38:05 +0100 Merge pull request #3650 from SomberNight/daemon_lockfile_not_exec make daemon lockfile not executable Diffstat: M lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -58,7 +58,7 @@ def get_fd_or_server(config): lockfile = get_lockfile(config) while True: try: - return os.open(lockfile, os.O_CREAT | os.O_EXCL | os.O_WRONLY), None + return os.open(lockfile, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644), None except OSError: pass server = get_server(config)