Re: list commands are a bit lame (was Re: [PEAR-DEV] Offline
| From: | Davey | Date: | Fri, 25 Jul 2003 17:34:21 +0000 |
| Subject: | Re: list commands are a bit lame (was Re: [PEAR-DEV] Offline | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18703@lists.php.net to get a copy of this message | ||
Perhaps it can check if the lock is available and just not cache if not?
That way we get the best of both worlds.
I think it should issue a warning though, saying something like "Cannot create lock file, cacheing is disabled, please try a priveledged user to enable cacheing"
$0.02
- Davey
Alan Knowles wrote:
from what I remember it is an attempt to cache the data, to prevent fetching (quite a bit of data) each time. File it as a bug? Regards Alan Wez Furlong wrote:That only works if you are running as root.... Look, can't someone fix this stupid lock thing? pear list-all could not create lock file: failed to open stream: Permission denied Yeah, I know I can chmod the system-wide installation, but why should I have to? There *really* is no reason why the list commands need to lock anything, or even write to the disk. --Wez.