Skip to content
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

bwrap: Can't find source path /run/user/1000/doc/by-app/com.spotify.Client: Permission denied #5580

Closed
4 tasks done
Lyton505 opened this issue Nov 5, 2023 · 4 comments
Closed
4 tasks done
Labels

Comments

@Lyton505
Copy link

Lyton505 commented Nov 5, 2023

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.15.4

What Linux distribution are you using?

Fedora Linux

Linux distribution version

38

What architecture are you using?

x86_64

How to reproduce

Install spotify flatpak
Try to run
Fails

Expected Behavior

I expected Spotify to run

Actual Behavior

I get the following output

bwrap: Can't find source path /run/user/1000/doc/by-app/com.spotify.Client: Permission denied

Additional Information

I've tried killing xdg-document-portal and restarting it.

Output of env G_MESSAGES_DEBUG=all /usr/libexec/xdg-document-portal --replace --verbose when I attempt to start the flatpak:

(/usr/libexec/xdg-document-portal:75095): GLib-GIO-DEBUG: 19:40:48.192: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
XDP: Providing portal org.freedesktop.portal.Documents
XDP: Providing portal org.freedesktop.portal.FileTransfer
XDP: org.freedesktop.portal.Documents acquired
XDP: INIT
XDP: ACCESS 1
XDP: LOOKUP 1:.Trash
XDP: LOOKUP -> error ENOENT
XDP: LOOKUP 1:.Trash-1000
XDP: LOOKUP -> error ENOENT
XDP: GETATTR 1
(/usr/libexec/xdg-document-portal:75095): GLib-GIO-DEBUG: 19:40:56.824: GTask 0x5563f9418a40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
^CXDP: DESTROY
@Lyton505 Lyton505 added the bug label Nov 5, 2023
@smcv smcv changed the title Flatpak not running bwrap: Can't find source path /run/user/1000/doc/by-app/com.spotify.Client: Permission denied Nov 7, 2023
@smcv
Copy link
Collaborator

smcv commented Nov 7, 2023

Are other Flatpak apps affected by this, or is this specific to Spotify?

@Lyton505
Copy link
Author

Lyton505 commented Nov 7, 2023

All flatpaks were, at the time of writing, affected by this. However, everything seems to be working now

@Lyton505 Lyton505 closed this as completed Nov 7, 2023
@chrsrns
Copy link

chrsrns commented Feb 17, 2024

This happens to me. I still don't know the cause of it. A complete restart always fixes it, but only for the time being. Does anyone have any idea on how to fix it?

@Francewhoa
Copy link

Confirmed

This is to confirm this challenge


Temporary Workaround

For those facing this challenge, the steps below temporary fixed this challenge. But the same challenge comes back after a few hours or days.

Steps:

  1. Using GNOME System Monitor or equivalent, kill this process xdg-document-portal

  2. Fully exit the Flatpak app. Including all its windows.

  3. Start the Flatpak app

  4. Error is gone


Related Ticket

Including screenshot and steps to reproduce at #5769


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants