A bit of followup on this.
I agree with Thomas that this is an increase in security risk. Most
(all?) malware detectors that scan the entire computer run as root.
E.g: chkrootkit.
Second, there is more to disabling this nonsense. As the relevant user,
run
systemctl --user stop xdg-document-portal.service
systemctl --user disable xdg-document-portal.service
The disable line prevents the service from being started at reboot.
Third, on March 1, I installed Bullseye on a laptop. That machine did
not exhibit this problem. Perhaps the difference is in a more recent
version of libfuse. The machines that exhibit the problem have:
root@jhegaala:~# pre fuse
fuse 2.9.9-5 amd64
libfuse2 2.9.9-5 amd64
root@jhegaala:~#
While the laptop that does not has:
root@ideapc:~# pre fuse
fuse3 3.10.3-2 amd64
libfuse2 2.9.9-5 amd64
libfuse3-3 3.10.3-2 amd64
root@ideapc:~#
Or perhaps not. On the latter machine, /run/user/1000/ is present, but
there is no directory doc in it:
root@ideapc:~# ll /run/user/1000/
total 4
drwx------ 11 charles charles 280 Apr 16 16:42 ./
drwxr-xr-x 6 root root 120 Apr 20 02:35 ../
srw-rw-rw- 1 charles charles 0 Apr 16 10:26 bus=
drwx------ 3 charles charles 60 Apr 16 10:26 dbus-1/
drwx------ 2 charles charles 60 Apr 16 10:26 dconf/
drwx------ 2 charles charles 60 Apr 16 14:20 emacs/
drwx------ 2 charles charles 140 Apr 16 10:26 gnupg/
drwx------ 2 charles charles 40 Apr 16 10:26 gvfs/
-rw------- 1 charles charles 318 Apr 16 10:26 ICEauthority
drwx------ 2 charles charles 60 Apr 16 10:26 keyring/
drwxr-xr-x 2 charles charles 60 Apr 16 10:26 Nextcloud/
srw-rw-rw- 1 charles charles 0 Apr 16 10:26 pk-debconf-socket=
drwx------ 2 charles charles 100 Apr 19 11:31 pulse/
drwxr-xr-x 5 charles charles 140 Apr 16 10:26 systemd/
root@ideapc:~#
As I have what I want (the service disabled), I have not experimented
further.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/