Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235773 > unrolled thread

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

Started byconover@rahul.net (John Conover)
First post2021-06-01 17:30 +0200
Last post2021-06-01 18:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Ownership and permissions on /run/user/601/doc ??? conover@rahul.net (John Conover) - 2021-06-01 17:30 +0200
    Re: Ownership and permissions on /run/user/601/doc ??? "Thomas Schmitt" <scdbackup@gmx.net> - 2021-06-01 18:30 +0200
    Re: Ownership and permissions on /run/user/601/doc ??? conover@rahul.net (John Conover) - 2021-06-01 18:30 +0200
    Re: Ownership and permissions on /run/user/601/doc ??? Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2021-06-01 18:10 +0200

#235773 — Ownership and permissions on /run/user/601/doc ???

Fromconover@rahul.net (John Conover)
Date2021-06-01 17:30 +0200
SubjectOwnership and permissions on /run/user/601/doc ???
Message-ID<Clev8-17R-7@gated-at.bofh.it>
Peculiar ownership and permissions on /run/user/601/doc:

    d?????????  ? ?    ?       ?            ? doc/

and it can not be changed as root.

Logging out, then in, same thing.

Any help on fixing it would be greatly appreciated.

    Thanks,

    John

-- 

John Conover, conover@rahul.net, http://www.johncon.com/

[toc] | [next] | [standalone]


#235774

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2021-06-01 18:30 +0200
Message-ID<Clfrb-1Gu-3@gated-at.bofh.it>
In reply to#235773
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

[toc] | [prev] | [next] | [standalone]


#235777

Fromconover@rahul.net (John Conover)
Date2021-06-01 18:30 +0200
Message-ID<Clfrc-1Gu-11@gated-at.bofh.it>
In reply to#235773
=?UTF-8?Q?Markus_Sch=c3=b6nhaber?= writes:
> 01.06.21, 17:28 +0200, John Conover:
> 
> > Peculiar ownership and permissions on /run/user/601/doc:
> > 
> >     d?????????  ? ?    ?       ?            ? doc/
> > 
> > and it can not be changed as root.
> > 
> > Logging out, then in, same thing.
> > 
> > Any help on fixing it would be greatly appreciated.
> 
> There's likely nothing to fix. This is how the mount point of some FUSE
> filesystems look when viewed from someone else as the owner.
> In your case, try to look at it as the user with id 601.
>

This issue was found this AM from updatedb(1), (cron job.) All my
machines have changed the same way after after yesterday's apt-get
update, (xdg maybe?)

On another machine, (they are all the same, as close as I can make
them,) after booting and logging in, ls -al /run/user/601, the doc/
directory:

    dr-x------  2 theuser users   0 Dec 31  1969 doc/

Then running updatedb, and ls -al /run/user/601:

    d?????????  ? ?    ?       ?            ? doc/

findmntl(8):

    /run/user/601/doc               /dev/fuse  fuse    rw,nosuid,nodev,relatim

-- 

John Conover, conover@rahul.net, http://www.johncon.com/

[toc] | [prev] | [next] | [standalone]


#235779

FromMarkus Schönhaber <debian-user@list-post.mks-mail.de>
Date2021-06-01 18:10 +0200
Message-ID<Clf7P-1zZ-11@gated-at.bofh.it>
In reply to#235773
01.06.21, 17:28 +0200, John Conover:

> Peculiar ownership and permissions on /run/user/601/doc:
> 
>     d?????????  ? ?    ?       ?            ? doc/
> 
> and it can not be changed as root.
> 
> Logging out, then in, same thing.
> 
> Any help on fixing it would be greatly appreciated.

There's likely nothing to fix. This is how the mount point of some FUSE
filesystems look when viewed from someone else as the owner.
In your case, try to look at it as the user with id 601.

BTW: findmnt will show what is mounted where.

-- 
Regards
  mks

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web