mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
appliers/file_cp.py: changes the mode bits for the file only
This commit is contained in:
parent
abc3a3f609
commit
72c34a7475
@ -100,6 +100,8 @@ class Files_cp:
|
||||
log('W15', logdata)
|
||||
|
||||
def set_exe_file(self, targetFile, fromFile):
|
||||
if not targetFile.is_file():
|
||||
return
|
||||
if Path(fromFile).suffix in self.exe_check.get_list_markers():
|
||||
targetPath = str(targetFile.parent)
|
||||
if targetPath or targetPath + '/' in self.exe_check.get_list_paths():
|
||||
|
Loading…
x
Reference in New Issue
Block a user