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 '21 at 22:19
  • this is a directory
    – ron-png
    Nov 7 '21 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 '21 at 23:31
  • they are using ext4. my solution was to kick out nautilus and use nemo instead :)
    – ron-png
    Nov 7 '21 at 23:35
  • It seems this upstream issue on gvfs, a fix was released Nov 7 '21 at 23:46
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
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 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.