flathub / org.libreoffice.LibreOffice

https://flathub.org/apps/details/org.libreoffice.LibreOffice
30 stars 20 forks source link

"Permission denied" while finishing Installation as user #205

Closed JmbFountain closed 1 year ago

JmbFountain commented 1 year ago

Hello,

I wanted to switch from native Libreoffice to the Flatpak, in order to increase security, however, when trying to install this package as my unprivileged user I get the following Error:

johannes:~ $ flatpak --user install -vv --ostree-verbose org.libreoffice.LibreOffice
F: Opening user flatpak installation at path /home/johannes/.local/share/flatpak
Looking for matches…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 2737 bytes
F: Loaded indexed summary file 57c1b99e44b8e7bfd8f065910386026c99bc26cb7e2dfa37af58075a458c0984 from cache for remote ‘flathub’
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 2737 bytes
F: Loaded indexed summary file 57c1b99e44b8e7bfd8f065910386026c99bc26cb7e2dfa37af58075a458c0984 from cache for remote ‘flathub’
F: Transaction: install flathub:app/org.libreoffice.LibreOffice/x86_64/stable[*]
F: Looking for remote metadata updates for flathub
F: marking op install:app/org.libreoffice.LibreOffice/x86_64/stable resolved to 25fee7c771b4fefe475692c7b95045ae5bd004fe3a7a45700105993f8b04a38c
F: Updating dependency org.freedesktop.Platform/x86_64/22.08 of org.libreoffice.LibreOffice/x86_64/stable
F: Transaction: update flathub:runtime/org.freedesktop.Platform/x86_64/22.08[$old]
F: marking op update:runtime/org.freedesktop.Platform/x86_64/22.08 resolved to 5d128770a411052d02065ac6baed827e5f02fa03c20c7a36d64951e33b2bb7b9
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.Locale/x86_64/22.08[/de, /en]
F: Transaction: install/update flathub:runtime/org.gtk.Gtk3theme.Adwaita-dark/x86_64/3.22[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.libreoffice.LibreOffice.Locale/x86_64/stable[/de, /en]
F: marking op install/update:runtime/org.libreoffice.LibreOffice.Locale/x86_64/stable resolved to d1be4acc5ec8a31bac92665fd0867d39667f34195484906ecf52d7ea89f517a5
F: marking op install/update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to 435b1135f46af01c742f7680e92a2ca2b63ef7f5cb6b75030caff3cdd80481a9
F: marking op install/update:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08 resolved to 1592229303937f77eaf7908941c9b59ae06f8ba0ebe4e2469986e241276fbbe9
F: marking op install/update:runtime/org.gtk.Gtk3theme.Adwaita-dark/x86_64/3.22 resolved to 7c055bbc0667524f34ca715abd67473480de93a176797a8fe4b7f7a71c4e3324
F: marking op install/update:runtime/org.freedesktop.Platform.Locale/x86_64/22.08 resolved to 75ed7ed48ff9ae6e0e249005e6f4f88037801bf00bfc7da692e5dd27ab1876d8
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra resolved to 72e97388da174b6feda564f6c6472de36d424297578d6eaa0ced553219030f71
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 resolved to a3b2d7eb081e95c99dd2beafc30dfbe4fd5faef80660048543f1fee188108ab6

org.libreoffice.LibreOffice permissions:
    ipc network fallback-x11    pulseaudio  wayland x11 dri file access [1] dbus access [2] bus ownership [3]

    [1] host, xdg-config/gtk-3.0, xdg-run/gvfsd
    [2] com.canonical.AppMenu.Registrar, org.gtk.vfs.*
    [3] org.libreoffice.LibreOfficeIpc0

 1.     org.libreoffice.LibreOffice stable  i   flathub < 301,8 MB

Proceed with these changes to the user installation? [Y/n]: y
Installing…
F: flatpak_dir_pull: Using commit 25fee7c771b4fefe475692c7b95045ae5bd004fe3a7a45700105993f8b04a38c for pull of ref app/org.libreoffice.LibreOffice/x86_64/stable from remote flathub
F: Preparing transaction in repository 0x556fb6c28260
F: Pushing lock non-blocking with timeout 30
F: Opening repo lock file
F: Push lock: state=unlocked, depth=0
F: Locking repo shared
F: Using new tmpdir staging-552a2e1e-19c2-488c-91a9-8881a03b9f03-OPd7Ej
F: starting fetch of delta index delta-indexes/Jf/7nx3G0_v5HVpLHuVBFrlvQBP46ekVwAQWZP4sEo4w.index
Installing…                        0%  0 bytes/s
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: starting fetch of 25fee7c771b4fefe475692c7b95045ae5bd004fe3a7a45700105993f8b04a38c.commit (detached)
F: fetch of 25fee7c771b4fefe475692c7b95045ae5bd004fe3a7a45700105993f8b04a38c.commit (detached) complete
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Adding GPG keyring data from flathub.trustedkeys.gpg to verifier
F: GnuPG >= 2.1.17, skipping gpg-agent cleanup in /tmp/ostree-gpg-cWW2Tx
F: pull: idle, exiting mainloop
Installing… ████████████████████ 100%
F: Committing transaction in repository 0x556fb6c28260
F: txn commit staging-552a2e1e-19c2-488c-91a9-8881a03b9f03-OPd7Ej
F: Popping lock non-blocking with timeout 30
F: Pop lock: state=shared, depth=1
F: Unlocking repo
F: No checksum specified, getting tip of app/org.libreoffice.LibreOffice/x86_64/stable from origin flathub
F: tip resolved to: 25fee7c771b4fefe475692c7b95045ae5bd004fe3a7a45700105993f8b04a38c
Error: Permission denied
error: Failed to install org.libreoffice.LibreOffice: Permission denied

Installation using sudo works, but I would prefer it to be installed in my user context and be manageable by flatseal there.

OS: openSUSE Tumbleweed 20221210 uname: Linux yla 6.0.10-1-default #1 SMP PREEMPT_DYNAMIC Sat Nov 26 17:59:17 UTC 2022 (582305b) x86_64 x86_64 x86_64 GNU/Linux Flatpak version: 1.14.1

I have set my OS permissions to fairly paranoid, so this might be an issue with DBus access?

stbergmann commented 1 year ago

Please report this as an issue with flatpak, not with this specific flathub-hosted app.