Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open files in /tmp #1256

Open
Tejeev opened this issue Apr 12, 2024 · 2 comments
Open

Can't open files in /tmp #1256

Tejeev opened this issue Apr 12, 2024 · 2 comments
Labels

Comments

@Tejeev
Copy link

Tejeev commented Apr 12, 2024

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

  1. Create a file anywhere in /tmp
  2. Try to open it with lnav
@Tejeev Tejeev added the bug label Apr 12, 2024
@tstack
Copy link
Owner

tstack commented Apr 16, 2024

Was lnav installed through the snap? It might be due to the sandboxing.

@Tejeev
Copy link
Author

Tejeev commented May 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants