chmod wakatime-cli after copying

This commit is contained in:
Alan Hamlett 2022-01-21 15:12:51 -08:00
parent b5210b77ce
commit b405f99cff
1 changed files with 2 additions and 0 deletions

View File

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