lnav
lnav copied to clipboard
Can't open files in /tmp
lnav version v0.11.2
Describe the bug If you try to open a file in /tmp lnav complains that it does not exist
/tmp/test$ lnav test.log
✘ error: unable to open file: test.log
reason: No such file or directory
tmp/test$ vim test.log
(works fine)
To Reproduce
- Create a file anywhere in
/tmp
- Try to open it with
lnav
Was lnav installed through the snap? It might be due to the sandboxing.
aah. Yeah, I installed it through the snap because the apt repo seemed to stop getting updates a while back. That explains it. Do you know if there is a way to allow lnav snap access to tmp? I suppose we'd have to do it manually ourselves, but that's fine for now.