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

Warn about lack of folder permissions due to flatpak sandbox restrictions #18

Open
nekohayo opened this issue Mar 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nekohayo
Copy link

nekohayo commented Mar 4, 2022

I'm running the flathub flatpak version, on Fedora 33.

If I have some images such as /tmp/foo bar/blahblah_001.PNG, and drag them into Yoga, nothing happens at all. No errors in the GUI, no errors in the terminal. I thought maybe flatpak's sandbox is preventing Yoga from getting those files (but in that case it should warn me clearly about it), but when I launched flatseal I saw that Yoga already had filesystem=host permissions, so why is it unable to read something from tmp ?

@nekohayo nekohayo added the bug Something isn't working label Mar 4, 2022
@flozz
Copy link
Owner

flozz commented Mar 7, 2022

Hello,

I just tested and drag&drop of files works from most folders, but you are right, it does not works from /tmp. And if I browse to this folder with the FileChooser dialog, it is... empty...

Reading the Flatpak documentation, /tmp folder (and some others) are blacklisted and cannot be accessed from inside the sandbox :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants