Indeed, there is! Thank you for pointing this out.

My home directory is mounted via nfs. For security reasons, nfs by default does 
not allow root access to the exported shares -- when root tries to write to a 
nfs share, the user and group is changed to nobody:nogroup. (This is called 
"root squashing")
Apparently pkexec tries to write to my home directory as the root user, and 
this fails, since nfs changes the user to nobody, who cannot write to my home.

Solution:
When I turn off this security feature and allow root access via nfs, everything 
works fine.

Still I wonder why pkexec tries to write to my home as root? Do you know what 
it's trying to do?
Anyway. this may well by an issue of policykit, not gparted at all.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938792

Title:
  starting gparted with pkexec fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/938792/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to