When running the package set-up for icingaweb2, it fails with the following: # emerge --config =www-apps/icingaweb2-2.3.0 Configuring pkg... * Running first time setup ... * Creating configuration directory ... /var/tmp/portage/www-apps/icingaweb2-2.3.0/temp/environment: line 2288: /usr/share/icingaweb2/bin/icingacli: Permission denied * Creating authentication token for web setup ... /var/tmp/portage/www-apps/icingaweb2-2.3.0/temp/environment: line 2290: /usr/share/icingaweb2/bin/icingacli: Permission denied * The following might be useful for your Apache2 configuration: /var/tmp/portage/www-apps/icingaweb2-2.3.0/temp/environment: line 2293: /usr/share/icingaweb2/bin/icingacli: Permission denied * All done. This is basically because /usr/share/icingaweb2/bin/icingacli is not installed with executable bit. Either pkg_setup() needs to be changed to prefix /usr/bin/php /usr/share/icingaweb2/bin/icingacli, or icingacli shuold be installed with dobin.
I've just successfully tested adding this to the src_install: fperms u+x,g+x "/usr/share/${PN}/bin/icingacli" Seems to do the job.
Created attachment 430654 [details] icingaweb2-2.3.0-r1.ebuild New ebuild with the added fperms line.
fixed in 2.3.0-r1, thanks