Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
+++ This bug was initially created as a clone of Bug #1952714 +++
Description of problem:
fuse.portal is not marked as a dummy fs, so various utilities fail with EPERM when attempting to read them.
How reproducible:
Always
Steps to reproduce error:
$ systemctl start --user xdg-document-portal # Make sure xdg-document-portal is running.
# find /run/user/1000/doc -ignore_readdir_race -xdev -type f
find: ‘/run/user/1000/doc’: Permission denied
Temporary workaround:
$ systemctl mask --user xdg-document-portal
Actual results:
Permission denied
Expected results:
find, and other utilities should not attempt to access fuse.portal filesystems.
Additional info:
Issue is not limited to find, but find is the specific example provided in this instance. Upstream discussions are more towards df, and the fix seems to be marking fuse.portal as squashfs
Several upstream discussions of this:
df (and other commands) fail on /root/.cache/doc · Issue #512 · flatpak/xdg-desktop-portal · GitHub
https://github.com/flatpak/xdg-desktop-portal/issues/512
mountlist.c: Define fuse.portal mounts as dummy by dbonner · Pull Request #11 · coreutils/gnulib · GitHub
https://github.com/coreutils/gnulib/pull/11
Suggested fix to mountlist.c: Define fuse.portal, devtmpfs and squashfs
https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html
--- Additional comment from Kamil Dudka on 2021-04-23 10:57:27 CEST ---
Thank you for filing the bug! This was previously reported on Fedora:
bug #1913358