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?
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?
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
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
gedit admin:///etc/hosts
or xed admin:///etc/hosts