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

[Linux] snap: Cannot access files outside of /home/, misleading error message #451

Closed
nschloe opened this issue Sep 4, 2020 · 5 comments

Comments

@nschloe
Copy link

nschloe commented Sep 4, 2020

When installing losslesscut under Linux via a Snap, it cannot access files outside of the user's home directory (like all snaps). When trying to open a file in /tmp/, however, the UI says

Unsupported file

This had me pulling my hair out for a file, so perhaps the error message can be improved.

Note that the developer console says

/tmp/video.mp4: No such file or directory
@mifi
Copy link
Owner

mifi commented Nov 15, 2020

aw snap! so did you manage to solve the underlying issue? so the problem is only that the message is misleading?

@nschloe
Copy link
Author

nschloe commented Nov 26, 2020

The underlying issue is a snap "bug" (see also so), but I don't know if it will ever be resolved. The error message should be clearer indeed.

@mifi
Copy link
Owner

mifi commented Nov 26, 2020

I'm not sure how I can make llc support /tmp, but I will fix the issue with unsupported file

@mifi
Copy link
Owner

mifi commented Nov 26, 2020

Could be related to #410

@mifi
Copy link
Owner

mifi commented Aug 24, 2021

LLC will now check for permission to open file before opening it and give a better error, so this should be resolved

@mifi mifi closed this as completed Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants