FS#46195 - [phoronix-test-suite] trying to run as root
Attached to Project:
Community Packages
Opened by Francisco Pina (Stunts) - Thursday, 03 September 2015, 23:35 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 19 January 2016, 15:22 GMT
Opened by Francisco Pina (Stunts) - Thursday, 03 September 2015, 23:35 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 19 January 2016, 15:22 GMT
|
Details
Description:
When installing the package, and after doing the recommended changes in /etc/php/php.ini, running PTS yields a lot of "permission denied" errors, eg.: mkdir(): Permission denied in /usr/share/phoronix-test-suite/pts-core/objects/pts_file_io.php:28 It seems PTS is trying to run as root, and trying to modify files my user does not have permissions to access. Additional info: * package version(s) 5.8.1 * Editing "pts-core/pts-core.php" and replacing everything inside the "...": if(PTS_IS_DAEMONIZED_SERVER_PROCESS) { ... } With everything that is inside the "..." from a few lines below: else if(PTS_IS_CLIENT) { ... } will make the program run. (yes, it is a dirty hack) I tried to create a new user and repeat the procedure, but the result is the same. Steps to reproduce: #pacman -S phoronix-test-suite edit /etc/php/php.ini and alter the recommended settings $phoronix-test-suite info c-ray |
This task depends upon
Closed by Sergej Pupykin (sergej)
Tuesday, 19 January 2016, 15:22 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed in latest phoronix-test-suite
Tuesday, 19 January 2016, 15:22 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed in latest phoronix-test-suite