mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-10 13:17:58 +03:00
Changed file permissions when copying
This commit is contained in:
parent
179b16baa4
commit
b8dc00443f
@ -117,12 +117,12 @@ class Files_cp:
|
||||
if self.readOnly:
|
||||
shutil.os.chmod(targetFile, 0o555)
|
||||
else:
|
||||
shutil.os.chmod(targetFile, 0o775)
|
||||
shutil.os.chmod(targetFile, 0o755)
|
||||
else:
|
||||
if self.readOnly:
|
||||
shutil.os.chmod(targetFile, 0o444)
|
||||
else:
|
||||
shutil.os.chmod(targetFile, 0o664)
|
||||
shutil.os.chmod(targetFile, 0o644)
|
||||
|
||||
def _create_action(self):
|
||||
logdata = dict()
|
||||
|
Loading…
Reference in New Issue
Block a user