The ebuild for sys-block/gparted-1.4.0-r1 doesn't install the file 'org.gnome.gparted.policy' even when the 'policykit' USE flag is enabled. The gparted README: https://github.com/GNOME/gparted seems to suggest that upstream's 'install' make target doesn't automatically install this file, implying that the ebuild should manually install this file when appropriate. Issue found via user report at: https://www.reddit.com/r/Gentoo/comments/va5lfj/gparted_issues/ic2o29m/
Thanks! I believe this is fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb73255629cc4999ff198fda276d593657609b8 (bug #827884). You have to rebuild gparted after installing >=sys-auth/polkit-0.120_p20220221-r1. With that, I see the file installed by both versions of gparted in tree: > /var/tmp/portage # find -name org.gnome.gparted.policy | grep image > ./sys-block/gparted-1.4.0/image/usr/share/polkit-1/actions/org.gnome.gparted.policy > ./sys-block/gparted-1.4.0-r1/image/usr/share/polkit-1/actions/org.gnome.gparted.policy *** This bug has been marked as a duplicate of bug 827884 ***