mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
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:
parent
e22cdc3da8
commit
18ab2cd76d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user