df: /run/user/1140/doc: Operation not permitted
After searching with google I found that the error message is related to
the xdg-document-portal service:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1905623
Is this needed by TDE? Would it cause any problems if I mask it as
suggested in the thread above with:
systemctl --user mask xdg-document-portal.service ?
Thanks,
Gianluca
On Thu, 15 Jul 2021, Gianluca Interlandi wrote:
> Hi!
>
> I plugged in a USB disk to TDE, copied several files and then unplugged it.
> Then, I rebooted the system. I now see this error message when I type `df -h`
> (1140 is my user ID):
>
> /home/gianluca> df
df: /run/user/1140/doc: Operation not permitted
> Filesystem 1K-blocks Used Available Use% Mounted on
> devtmpfs 2824632 0 2824632 0% /dev
> tmpfs 2835156 0 2835156 0% /dev/shm
> tmpfs 2835156 17956 2817200 1% /run
> tmpfs 2835156 0 2835156 0% /sys/fs/cgroup
> /dev/sda6 20511312 10431312 9015040 54% /
> /dev/sda1 516040 45044 444784 10% /boot
> /dev/sda5 5095040 624840 4191672 13% /var
> /dev/sda4 925802616 120391380 758313244 14% /home
> tmpfs 567028 12 567016 1% /run/user/1140
>
> It lookes like the filesystem did not get unmounted correctly:
>
> /home/gianluca> cat /etc/mtab
> tmpfs /run/user/1140 tmpfs
> rw,nosuid,nodev,relatime,size=567028k,mode=700,uid=1140,gid=100 0 0
> gvfsd-fuse /run/user/1140/gvfs fuse.gvfsd-fuse
> rw,nosuid,nodev,relatime,user_id=1140,group_id=100 0 0
> fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
> portal /run/user/1140/doc fuse.portal
> rw,nosuid,nodev,relatime,user_id=1140,group_id=100 0 0
>
> And also:
>
> If run as root:
> /home/gianluca> ls -lt /run/user/1140
> ls: cannot access '/run/user/1140/doc': Permission denied
> ls: cannot access '/run/user/1140/gvfs': Permission denied
> total 0
> -rw-r----- 1 gianluca users 0 2021-07-15 18:55 pipewire-0.lock
> drwx------ 2 gianluca users 60 2021-07-15 18:54 dconf
> drwx------ 2 gianluca users 80 2021-07-15 18:54 pulse
> drwx------ 3 gianluca users 60 2021-07-15 18:54 dbus-1
> srw-rw-rw- 1 gianluca users 0 2021-07-15 18:54 pipewire-0
> srw-rw-rw- 1 gianluca users 0 2021-07-15 18:54 bus
> drwxr-xr-x 3 gianluca users 100 2021-07-15 18:54 systemd
> d????????? ? ? ? ? ? doc
> d????????? ? ? ? ? ? gvfs
>
> It run as user:
> /home/gianluca> ls -lt /run/user/1140
> total 0
> -rw-r----- 1 gianluca users 0 2021-07-15 18:55 pipewire-0.lock
> drwx------ 2 gianluca users 60 2021-07-15 18:54 dconf
> dr-x------ 2 gianluca users 0 2021-07-15 18:54 gvfs
> drwx------ 2 gianluca users 80 2021-07-15 18:54 pulse
> drwx------ 3 gianluca users 60 2021-07-15 18:54 dbus-1
> srw-rw-rw- 1 gianluca users 0 2021-07-15 18:54 pipewire-0
> srw-rw-rw- 1 gianluca users 0 2021-07-15 18:54 bus
> drwxr-xr-x 3 gianluca users 100 2021-07-15 18:54 systemd
> dr-x------ 2 gianluca users 0 1969-12-31 16:00 doc
>
> Any idea how I can fix this?
>
> Thanks,
>
> Gianluca
>
> -----------------------------------------------------
> Gianluca Interlandi, PhD gianluca(a)u.washington.edu
> +1 (206) 685 4435
>
http://gianluca.today/
>
> Department of Bioengineering
> University of Washington, Seattle WA U.S.A.
> -----------------------------------------------------
> ____________________________________________________
> tde-users mailing list -- users(a)trinitydesktop.org
> To unsubscribe send an email to users-leave(a)trinitydesktop.org
> Web mail archive available at
>
https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt…
>
-----------------------------------------------------
Gianluca Interlandi, PhD gianluca(a)u.washington.edu
+1 (206) 685 4435
http://gianluca.today/
Department of Bioengineering
University of Washington, Seattle WA U.S.A.
-----------------------------------------------------