hishtory icon indicating copy to clipboard operation
hishtory copied to clipboard

update tmp file permission conflict

Open AndCycle opened this issue 1 year ago • 0 comments

$ 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

AndCycle avatar Jul 11 '24 05:07 AndCycle