#24819 [Com]: most pear cli commands have problems with permissions

From: Date: Tue, 27 Apr 2004 07:24:23 +0000
Subject: #24819 [Com]: most pear cli commands have problems with permissions
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28412@lists.php.net to get a copy of this message
ID: 24819 Comment by: helgi at trance dot is Reported By: meebey@php.net Status: Assigned Bug Type: PEAR related Operating System: Linux PHP Version: Irrelevant Assigned To: cox New Comment: pear info pear remote-info pear list-all pear list pear list-upgrades work with out being root now ;) just tested. though it seems to give back outdated info. like pear remote-info Liveuser says that newest version is 0.8.1 but the local version is 0.10.0 ;) But this was do to the none root user had diffrent pear config, which is silly IMO. also using pear search LiveUser (or just anything else) gives back: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2949120 bytes) in /usr/share/pear/XML/RPC.php(750) : eval()'d code on line 938 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0 already been reported http://pear.php.net/bugs/bug.php?id=319 though. Previous Comments: ------------------------------------------------------------------------ [2003-07-26 13:57:15] meebey@php.net after I got some background info from pierre, I understood that it's not a user problem. It's a problem of filelocking, which only works right when the user runs the pear cli that installed it. So own user installations of PEAR work in their homedirs. The systemwide one only for root in this case (root installed it). I will analyze this problem further... ------------------------------------------------------------------------ [2003-07-26 08:47:13] meebey@php.net Description: ------------ The following pear cli commands only work right when they are run as root: pear info pear remote-info pear list-all pear list pear list-upgrades pear search They should also work as non-root since they don't change anything in the PEAR installation, they are just informative. Actual result: -------------- meebey@meebey-mobile:~$ pear info Net_SmartIRC could not create lock file: failed to open stream: Permission denied meebey@meebey-mobile:~$ pear remote-info Net_SmartIRC could not create lock file: failed to open stream: Permission denied meebey@meebey-mobile:~$ pear list-all could not create lock file: failed to open stream: Permission denied meebey@meebey-mobile:~$ pear list could not create lock file: failed to open stream: Permission denied meebey@meebey-mobile:~$ pear list-upgrades could not create lock file: failed to open stream: Permission denied meebey@meebey-mobile:~$ pear search irc could not create lock file: failed to open stream: Permission denied ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24819&edit=1

« previous php.pear.dev (#28412) next »