0

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?

5
  • Is the directory (or file) that you’re trying to open as admin on a Samba share or NTFS partition? 🤔
    – matigo
    Nov 7, 2021 at 22:19
  • this is a directory
    – ron-png
    Nov 7, 2021 at 23:12
  • 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?
    – matigo
    Nov 7, 2021 at 23:31
  • they are using ext4. my solution was to kick out nautilus and use nemo instead :)
    – ron-png
    Nov 7, 2021 at 23:35
  • It seems this upstream issue on gvfs, a fix was released Nov 7, 2021 at 23:46

1 Answer 1

0

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
2
  • 1
    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
    – ASamsig
    Jan 7, 2022 at 8:07
  • 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
    – Mike R
    Apr 22, 2022 at 23:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .