There is a lot of chown/chmod, please convert it to fperms/fowners When ou touch please add die adter portage helper functions and external binary called (rm/sed/mkdir/etc.) THanks
Done for 4.0.22, for 4.0.25 I'll move to EAPI 4.