Bug#1066097: reportbug: xdg-desktop-portal-gnome does not allow write access to folders

Rob Hall robxnanocode at outlook.com
Tue Mar 12 15:08:01 GMT 2024


Package: xdg-desktop-portal-gnome
Version: 43.1-2
Severity: normal
X-Debbugs-Cc: robxnanocode at outlook.com

Dear Maintainer,

Steps to reproduce:
1. Install HandBrake from Flatpak, or another application which makes use of
the portal to open a folder to write in.
2. Use `sudo flatpak override --nofilesystem=host fr.handbrake.ghb` to restrict
direct filesystem access.
3. Run HandBrake and select a video file.
4. Click the To: menu in the bottom right-hand corner, select Other... and
select a folder.

Result: HandBrake reports that the directory is not writable. There is no
option to make the folder writable, so the application is unable to save files.

The issue was reported upstream in https://gitlab.gnome.org/GNOME/xdg-desktop-
portal-gnome/-/issues/41 and resolved in xdg-desktop-portal-gnome 44 via
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/38.


-- System Information:
Debian Release: 12.5
  APT prefers bookworm
  APT policy: (500, 'bookworm'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xdg-desktop-portal-gnome depends on:
ii  dbus-user-session                            1.14.10-1~deb12u1
ii  dbus-x11                                     1.14.10-1~deb12u1
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  gsettings-desktop-schemas                    43.0-1
ii  libadwaita-1-0                               1.2.2-1
ii  libc6                                        2.36-9+deb12u4
ii  libcairo2                                    1.16.0-7
ii  libfontconfig1                               2.14.1-4
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-1+b1
ii  libglib2.0-0                                 2.74.6-2
ii  libgnome-bg-4-2                              43.2-2
ii  libgnome-desktop-4-2                         43.2-2
ii  libgtk-4-1                                   4.8.3+ds-2+deb12u1
ii  libx11-6                                     2:1.8.4-2+deb12u2
ii  xdg-desktop-portal                           1.16.0-2
ii  xdg-desktop-portal-gtk                       1.14.1-1

Versions of packages xdg-desktop-portal-gnome recommends:
ii  gnome-settings-daemon  43.0-4
ii  gnome-shell            43.9-0+deb12u1

Versions of packages xdg-desktop-portal-gnome suggests:
ii  accountsservice  22.08.8-6
ii  evince           43.1-2+b1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list