Score:0

Nautilus shows me Error, when I try to open a Folder as administrator

cn flag

When I try to open a directory as an administrator, I see this message:

Unhandled error message:
GDBus.Error:org.freedesktop.Policykit1.Error.Failed: Unix process subject does not have uid set

Do you have any tips on how to solve this?

in flag
Is the directory (or file) that you’re trying to open as admin on a Samba share or NTFS partition?
ron-png avatar
cn flag
this is a directory
in flag
I get that much. I’m attempting to determine if this is a specific issue (that I’ve seen before) or something else. Are all of your storage devices using Ext4, ZFS, or something else?
ron-png avatar
cn flag
they are using ext4. my solution was to kick out nautilus and use nemo instead :)
vn flag
It seems [this upstream issue](https://gitlab.gnome.org/GNOME/gvfs/-/issues/515) on gvfs, a [fix was released](https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1935734)
Score:0
cn flag

The right way to do it is to install an updated version of gvfs (special thanks to doc_willis):

sudo add-apt-repository ppa:ubuntuhandbook1/gvfs -y && sudo apt update && sudo apt install gvfs -y && sudo add-apt-repository -r ppa:ubuntuhandbook1/gvfs -y

And after that, restarting your pc is required to apply the changes:

sudo reboot
br flag
This worked perfectly me on PopOS 21.10. For those curious how to test this. One of the two below should trigger opening the /etc/hosts file and nautilus `gedit admin:///etc/hosts` or `xed admin:///etc/hosts`
ASamsig avatar
sa flag
If you're running Pop!_OS you have to add gvfs-fuse to the apt install command, since pop-desktop depends on that, and it has been changed to new packages. The command then becomes: `sudo add-apt-repository ppa:ubuntuhandbook1/gvfs -y && sudo apt update && sudo apt install gvfs gvfs-fuse -y && sudo add-apt-repository -r ppa:ubuntuhandbook1/gvfs -y`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.