adjust access rights of newly created files
This commit is contained in:
parent
5abfe3c214
commit
809221fb7e
|
@ -64,3 +64,14 @@ print('compiling Mentat menu binaries...')
|
||||||
executable = marc_root/f'mentat{marc_version}/bin/mentat'
|
executable = marc_root/f'mentat{marc_version}/bin/mentat'
|
||||||
menu_file = marc_root/f'mentat{marc_version}/menus/linux64/main.msb'
|
menu_file = marc_root/f'mentat{marc_version}/menus/linux64/main.msb'
|
||||||
os.system(f'xvfb-run -a {executable} -compile {menu_file}')
|
os.system(f'xvfb-run -a {executable} -compile {menu_file}')
|
||||||
|
|
||||||
|
print('setting file access rights...')
|
||||||
|
|
||||||
|
files = (glob.glob(str(marc_root/f'marc{marc_version}/tools/run_damask*')) +
|
||||||
|
glob.glob(str(marc_root/f'marc{marc_version}/tools/comp_damask*')) +
|
||||||
|
glob.glob(str(marc_root/f'mentat{marc_version}/bin/kill[4-6]')) +
|
||||||
|
glob.glob(str(marc_root/f'mentat{marc_version}/bin/submit[4-6]')))
|
||||||
|
|
||||||
|
for file in files:
|
||||||
|
os.chmod(file , 0o755)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue