Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #20321 go-pear.phar as root does not has a broken installation base
Submitted: 2014-06-27 20:38 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: PEAR (version SVN)
PHP Version: Irrelevant OS: Ubuntu 14.04, Debian 7
Roadmaps: 1.9.5    
Subscription  


 [2014-06-27 20:38 UTC] cweiske (Christian Weiske)
Description: ------------ Running 1.9.5's go-pear.phar gives me Expected result: ---------------- /usr as base /etc/pear.conf as config file. Actual result: -------------- 1. Installation base ($prefix) : //pear 2. Temporary directory for processing : /tmp/pear/install 3. Temporary directory for downloads : /tmp/pear/install 4. Binaries directory : //pear/bin 5. PHP code directory ($php_dir) : //pear/share/pear 6. Documentation directory : //pear/docs 7. Data directory : //pear/data 8. User-modifiable configuration files directory : //pear/cfg 9. Public Web Files directory : //pear/www 10. Tests directory : //pear/tests 11. Name of configuration file : //.pearrc

Comments

 [2014-06-27 20:47 UTC] cweiske (Christian Weiske)
Reason is that I'm on a docker machine that does not have the user the go-pear.phar is owned. get_current_user() in PEAR/Start.php does only return an empty string.
 [2014-06-27 21:14 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git.