hishtory
hishtory copied to clipboard
update tmp file permission conflict
$ hishtory update
2024/07/11 13:01:52 hishtory v0.297 fatal error at github.com/ddworken/hishtory/client/cmd/update.go:28: failed to delete file /tmp/hishtory-client when trying to download a new version
hishtory update left update file at /tmp
different user will conflict each other on doing update due to file permission issue
need to create safe tmp directory for update work to prevent other possible issue