autounmask has a hard coded check for whatever it's run as root, but their is nothing the program does that requires root access. It simply requires random joe user emerge privileges and editing rights to /etc/portage none of this has to be root restricted. I find it a borderline security issue that a tool that does not need root, claims so anyway and forces the user to enter root level access to run it. Reproducible: Always
Jep. Fixed in 0.25.
Created attachment 208579 [details, diff] fixes group comparison and optimizes slow python call re-fixes this issue and optimizes the python call.