There were other polkit messages in .xsession-errors-:0 so you may be right. I'm actually more troubled by the fact that a file manager started up and mounted a bunch of partitions, perhaps as a reaction to gparted accessing that drive. I'll note that KDE live handled gparted correctly, both from the menu and from the command line.