Closed asdf23 closed 4 years ago
Update it was the sticky bit, perhaps unrelated to this code unless there is a desire to fix this.
chmod -t /tmp/mcfly.?????
fixed it,
I'm not sure if I'd need to do that everytime.
Interesting. I've never tried running it as root. You could look at the code that creates the tmp files in mcfly.bash / mcfly.zsh and see if adding a chmod helps you.
I didn't look too closely at the code, I would have thought that the tmp file would be random and change each time. Anywho after setting this I did not need to do anything else after a reboot. I did open another ticket (about being able to see the history from different user)
I am trying to install this as root. Yes I know that's a bad idea and accept the risks.