#24819 [NoF->Csd]: most pear cli commands have problems with permissions
| From: | meebey@php.net | Date: | Mon, 06 Jun 2005 12:24:45 +0000 |
| Subject: | #24819 [NoF->Csd]: most pear cli commands have problems with permissions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37997@lists.php.net to get a copy of this message | ||
ID: 24819
User updated by: meebey@php.net
Reported By: meebey@php.net
-Status: No Feedback
+Status: Closed
Bug Type: PEAR related
-Operating System: Linux
+Operating System: Debian GNU/Linux
-PHP Version: Irrelevant
+PHP Version: 4CVS-2003-02-10 (stable)
Assigned To: cox
New Comment:
tested all said command and they work like a charm with the current
PEAR version. Thanks for fixing this!
Previous Comments:
------------------------------------------------------------------------
[2005-05-24 01:00:04] pear-dev at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-05-16 12:01:53] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-04-27 09:24:22] helgi at trance dot is
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.
------------------------------------------------------------------------
[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