[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ownership and permissions on /run/user/601/doc ???



Hi,

John Conover wrote:
> Peculiar ownership and permissions on /run/user/601/doc:
>    d?????????  ? ?    ?       ?            ? doc/

Are you already the user with id 601 ?
If not: Does it work better if you become that user ?

The web knows about problems of program df with /run/user/*/doc
  https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1905623

My understanding is that a flatpack component named xdg-document-portal
creates such /run/user/*/doc directories as fuse mountpoints, which only
the owner of the mounted filesystem can inspect.

  https://askubuntu.com/questions/1227667/df-command-throws-error-on-run-user-1000-doc-folder
has the proposal to get rid of xdg-desktop-portal by executing:

  systemctl --user stop xdg-document-portal.service

---------------------------------------------------------------------------

Ubuntu's proposal for a solution for df is to add "devtmpfs", "fuse.portal",
and "squashfs" to a list of dummy filesystems in gnulib.
  https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1905623/comments/14
where
  https://launchpadlibrarian.net/510003931/coreutils_8.32-4ubuntu1_8.32-4ubuntu2.diff.gz
would hopefully apply to our
  https://sources.debian.org/src/gnulib/20210102~ebaa53c-1/lib/mountlist.c/?hl=166#L166

This does not fix the acessability of the directory, but only hides it
from df's enumeration of mount points.
So i'd say that Ubuntu regards the problem as annoying but not as indication
of a serious filesystem problem.


Have a nice day :)

Thomas


Reply to: