Why does the ebuild chown/chmod everything post-install, instead of doing it either in src_install or pkg_preinst? In the latter case, I think you could also delay creating the user until preinst. http://michael.orlitzky.com/articles/end_root_chowning_now_%28make_pkg_postinst_great_again%29.xhtml