my fedora computer has pkexec version 121 which has the --keep-cwd option. if ubuntu would update pkexec i'm guessing it would have that option too.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/189517 Title: pkexec needs ability to retain user HOME and possibly other environment Status in gparted package in Ubuntu: Invalid Status in policykit-1 package in Ubuntu: Confirmed Bug description: Launching gui applications with pkexec strips their environment bare and points the home directory to /root, causing the gnome file dialog to behave badly. It needs a way to preserve the user home the way sudo and gksu do. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/189517/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp