#24819 [Opn]: most pear cli commands have problems with permissions
| From: | meebey@php.net | Date: | Sat, 26 Jul 2003 18:57:16 +0000 |
| Subject: | #24819 [Opn]: most pear cli commands have problems with permissions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18754@lists.php.net to get a copy of this message | ||
ID: 24819
Updated by: meebey@php.net
-Summary: most pear cli commands require root rights
Reported By: meebey@php.net
Status: Open
Bug Type: PEAR related
Operating System: Linux
PHP Version: Irrelevant
New Comment:
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...
Previous Comments:
------------------------------------------------------------------------
[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