| Summary: | Flatpack Star can compare directories outside home folder | ||
|---|---|---|---|
| Product: | [Applications] kdiff3 | Reporter: | Karsten Gresch <edk-gnickartgub-20250102> |
| Component: | application | Assignee: | michael <reeves.87> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/sdk/kdiff3/-/commit/614b5dfcaedea22e8bfda310863204b1408d1ece | Version Fixed/Implemented In: | 1.12.1 |
| Sentry Crash Report: | |||
|
Description
Karsten Gresch
2025-01-02 14:29:04 UTC
Looks we the "Qt: Session management error" is an internal session management errot that does not impact kdiff3 functionally. Qt is trying to access '/tmp/.ICE-unix' which is being blocked by flatpak default configuration. See https://docs.flatpak.org/en/latest/sandbox-permissions.html for more on that. Allowing access to '/tmp' changes the error but does not remove it completely. As far as kdiff3 not being able to actually do the comparison that can be adjusted in my build config. Currently this has been set to allow the home folder via one of flatpak's fixed presets. Otherwise even that would not be allowed. Passing '--filesystem=host' to flatpaks at launch will allow as much access to most directories. A few restricts are enforced even then hence why the Qt warning doesn't go away. The full command would be: flatpak run --filesystem=host org.kde.kdiff3 To set this as default run: flatpak override --filesystem=host org.kde.kdiff3 Next will do this at build time. Git commit 89aa5c44dd4611697491b3242a69afc0f027aa01 by Michael Reeves. Committed on 04/01/2025 at 02:02. Pushed by mreeves into branch '1.12'. [flatpak] Enable sound, printing and local file system access FIXED-IN:1.12.1 M +6 -1 .flatpak-manifest.json https://invent.kde.org/sdk/kdiff3/-/commit/89aa5c44dd4611697491b3242a69afc0f027aa01 Git commit 614b5dfcaedea22e8bfda310863204b1408d1ece by Michael Reeves. Committed on 04/01/2025 at 03:58. Pushed by mreeves into branch 'master'. [flatpak] Enable sound, printing and local file system access FIXED-IN:1.12.1 M +6 -1 .flatpak-manifest.json https://invent.kde.org/sdk/kdiff3/-/commit/614b5dfcaedea22e8bfda310863204b1408d1ece |