make daemon lockfile not executable

This commit is contained in:
SomberNight 2018-01-04 23:41:10 +01:00
parent 6d88eab005
commit f9e9597381
1 changed files with 1 additions and 1 deletions

View File

@ -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)