Problem with permissions?
sinuso opened this issue · comments
I cannot update without sudoe permissions and if I use them then the other users do not have permissions.
:~$ tgpt -u
Updating...
Download location: /usr/local/bin/tgpt
Operating System: linux
Processor Architecture: amd64
Downloading...
######################################################################## 100.0%
mv: cannot move '/tmp/tgpt' to '/usr/local/bin/tgpt': Permission denied
Failed to update. Error: exit status 1
Successfully updated.
:~$ sudo tgpt -u
Updating...
Download location: /usr/local/bin/tgpt
Operating System: linux
Processor Architecture: amd64
Downloading...
######################################################################## 100.0%
Installed Successfully
Make sure your file is in PATH
Run tgpt -h for help
Successfully updated.
:~$ tgpt -v
-bash: /usr/local/bin/tgpt: Permission denied
me too
with zsh
The file permissions in the install script were changed, I reverted the changes. Re run the install script