mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Merge pull request #458 from meejah/2881.magic-folder-umask.0
don't set execute bit in default umask
This commit is contained in:
commit
7e393510d2
@ -872,7 +872,7 @@ class WriteFileMixin(object):
|
||||
initial_path_u = os.path.dirname(abspath_u)
|
||||
fileutil.make_dirs_with_absolute_mode(local_path_u, initial_path_u, (~ self._umask) & 0777)
|
||||
fileutil.write(replacement_path_u, file_contents)
|
||||
os.chmod(replacement_path_u, (~ self._umask) & 0777)
|
||||
os.chmod(replacement_path_u, (~ self._umask) & 0666)
|
||||
|
||||
# FUDGE_SECONDS is used to determine if another process
|
||||
# has written to the same file concurrently. This is described
|
||||
|
Loading…
x
Reference in New Issue
Block a user