You are not logged in.
I’ve just updated, and after the update when I tried to access folders in my GUI file manager (nautilus) with root access (by adding admin:// to the front of the path), I get GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set
I tried to search online, it seems that this message isn't something that has really occurred that often to anyone at all. I'm at a loss. I loaded a snapshot I made 2 weeks ago and it is fine, then I updated again and then it broke again. It must be something that happens during the update that breaks that access. Anyone have similar problems?
Offline
Just tried it on my laptop and got the same thing
Offline
I can confirm the behaviour. Probably caused by the recent gvfs update.
The terminal shows
(org.gnome.Nautilus:3357): GVFS-WARNING **: 19:17:48.721: The peer-to-peer connection failed: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
Offline
Yep, I just updated again but ignored all updates from gvfs packages, and it is indeed not broken.
Offline
I'm also seeing the same thing. I've reporting as a bug so it can be tracked (https://bugs.archlinux.org/task/70108), then I might try digging through the gvfs repo.
Edit:
It seems to be caused by this commit: https://gitlab.gnome.org/GNOME/gvfs/-/c … c51d4cbb32 which was there to close https://gitlab.gnome.org/GNOME/gvfs/-/issues/515 .
Reverting just that one commit reverts the behaviour (below). However, there could be some other issue that's preventing this change from working as expected.
diff --git a/PKGBUILD b/PKGBUILD
index ad07e79..dc0aec7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=gvfs
pkgname=(gvfs gvfs-{smb,afc,gphoto2,goa,mtp,nfs,google})
pkgver=1.48.0
-pkgrel=1
+pkgrel=1.0
pkgdesc="Virtual filesystem implementation for GIO"
url="https://wiki.gnome.org/Projects/gvfs"
arch=(x86_64)
@@ -23,6 +23,7 @@ sha256sums=('SKIP'
prepare() {
cd $pkgbase
+ git revert -n 29a00938055d3c7c11533bdda3f84ec51d4cbb32
}
pkgver() {
Last edited by jonathon (2021-03-21 14:34:40)
Offline
Also having this issue. I noticed if I do upgrade the gvfs* packages to 1.48.0-2, I get an "Unable to handle admin: locations" error. Then after downgrading to the 2 cached versions(1.46.2-1 and 1.48.0-1), I get this same GDBus.Error. I'm curious. What other packages could've caused this change since it seems to happen with gvfs updated or not? I could check my log and play whack-a-mole, but unsure if that would even solve it.
EDIT: Apologies, Downgrading to 1.46.2-1 again today seemed to have worked. Unsure what happened with the downgrade yesterday that it didn't. But user error apparently.
Last edited by gdi (2021-03-24 14:12:36)
Offline
Does anyone know if there's an open issue somewhere on this? It doesn't seem clearly proven in this thread that this is upstream. Hmm what to do. I use Xfce and now Thunar won't even start up because of this error:
(thunar:204741): GVFS-WARNING **: 12:55:55.329: The peer-to-peer connection failed: Timeout was reached. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
Offline