Bug 2279924 - flatpak: file dialogue to add attachment has by default no read permission to any files
Summary: flatpak: file dialogue to add attachment has by default no read permission to...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kontact
Version: 40
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-09 21:00 UTC by Robert
Modified: 2024-05-17 22:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-17 22:08:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert 2024-05-09 21:00:55 UTC
I am running Fedora Kinoite 40 (OSTREE_VERSION='40.20240509.0').

Recently, I switched to Kinoite 40 and installed Kontact as flatpak from the fedora flatpak repository. It is now in version 6.0.2.

When I try to draft an email and click on 'add attachment', a file picker opens that cannot see any files. I have then reconfigured the flatpak permissions and added manually create access to all user files and /tmp.

I would expect Kontact to possess the necessary permissions by default.

Reproducible: Always

Steps to Reproduce:
1. install fedora kontact flatpak
2. create a new email
3. try to add an attachment using the file picker
Actual Results:  
notice that no file can be selected in file picker

Expected Results:  
I can choose any file from the system in the file picker

Comment 1 Yaakov Selkowitz 2024-05-09 23:22:55 UTC
Our flatpak permissions are the same as upstream's, so does the same thing occur with the flathub flatpak as well?  If so, please report this to https://github.com/flathub/org.kde.kontact/issues and KDE bugzilla.

Comment 2 Robert 2024-05-10 08:33:30 UTC
I filed this problem in the KDE bug tracker https://bugs.kde.org/show_bug.cgi?id=486838

Comment 3 Yaakov Selkowitz 2024-05-17 22:08:37 UTC
This will be fixed in the next flatpak build of kontact.


Note You need to log in before you can comment on or make changes to this bug.