Commit 2b3b41df authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

utils.filelock: Remove executable bit from lock files

There's no need for lock files to be executable.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarBernardo Dal Seno <>
parent df28c49b
......@@ -73,7 +73,7 @@ class FileLock(object):
# Using "" is necessary to allow both opening existing file
# read/write and creating if not existing. Vanilla "open" will truncate an
# existing file -or- allow creating if not existing.
return cls(os.fdopen(, os.O_RDWR | os.O_CREAT), "w+"),
return cls(os.fdopen(, os.O_RDWR | os.O_CREAT, 0664), "w+"),
def __del__(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment