-
Notifications
You must be signed in to change notification settings - Fork 72
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
After removing folder from flatseal file access list, symlink error persists on startup #702
Comments
@ell1e just a flyby comment; you can't add multiple directories that way. Add each directory/file in a separate entry |
Thanks for the help! The UI text above seemed to suggest to me that is possible. Maybe that could use some fine-tuning then, unless it's just me - but I feel like it's not necessarily obvious the comma means I need to make separate entries. I fixed it now and used multiple entries. Sadly, the error remains the same. It seems like the handling of symlinks is somehow broken. |
I'm starting to think this is a security problem, because this error still shows when I remove all file access on the host system. Seems like the access isn't removed after all, which seems like a potentially data escape issue. Is there some situation where the flatseal config may silently fail to apply? |
Known flatpak/bwrap limitation inherited from the old Linux mount API. |
Okay, but this seems like a scary situation that it still touches any files on disk after I changed flatseal settings to this: Edit: for what it's worth, seems like the underlying symlink issue will be resolved in an upcoming release at least: GeorgesStavracas/flatpak@d05074c / flatpak/flatpak#3477 so that's cool. But I don't understand why it's still trying to do something with symlinks after I deleted all these settings. |
@ell1e flatseal-wise you should:
Beyond that, if the error still shows up, then you might still have some left over files in |
The manifest of <End facts, begin speculation> flatpak seems to interpret this not only as 'do not grant |
I feel like the expected behavior would be that flatseal doesn't somehow remove this manifest-induced permission by default, but rather just show it in the UI so I can see and edit it. Or alternatively, show it in some grayed out separate area that indicates even if I remove all manual filesystem permissions, this one stays in place, with maybe some info on how to remove it outside of flatseal. Sorry if for some reasons that's a nonsensical suggestion though, it's just my gut feeling as a user. |
Related: flatpak/flatpak#5854 |
It seems like I can't add symlink and its target to files accessible to app, such that the app sees both the symlink as a symlink targeting a path and also sees the target path as a regular folder inside its sandbox. Instead I'm getting a weird error that seems to claim that the target isn't a symlink when it is:
The text was updated successfully, but these errors were encountered: