chmod wakatime-cli after copying

This commit is contained in:
Alan Hamlett 2022-01-21 15:12:51 -08:00
parent b5210b77ce
commit b405f99cff

View File

@ -942,5 +942,7 @@ def createSymlink():
except: except:
try: try:
shutil.copy2(getCliLocation(), link) shutil.copy2(getCliLocation(), link)
if not is_win:
os.chmod(link, 509) # 755
except: except:
log(traceback.format_exc()) log(traceback.format_exc())