Drop to less permissive mask for bedrock imports

`Owner` of the file (which should be us) can r-w-e
`Group` of the file can r-w
`World` can do nothing. 

Sticky bit is still set.
This commit is contained in:
Iain Powrie 2022-06-03 11:42:20 +00:00
parent e22cdc3da8
commit 18ab2cd76d

View File

@ -682,7 +682,7 @@ class Controller:
)
if os.name != "nt":
if Helpers.check_file_exists(full_jar_path):
os.chmod(full_jar_path, 0o2775)
os.chmod(full_jar_path, 0o2760)
return new_id
def import_bedrock_zip_server(
@ -751,7 +751,7 @@ class Controller:
)
if os.name != "nt":
if Helpers.check_file_exists(full_jar_path):
os.chmod(full_jar_path, 0o2775)
os.chmod(full_jar_path, 0o2760)
return new_id