Connecting Tech Pros Worldwide Forums | Help | Site Map

Problems changing PEAR cache directory

Jan Pieter Kunst
Guest
 
Posts: n/a
#1: Jul 17 '05
Dear group,

I'm trying to change PEAR's default cache directory (on Mac OS X) from
/tmp/pear/cache to /var/tmp/pear/cache, but I can't do it. I'm using the
Marc Liyanage's php distribution, and I'm executing the correct binary:
the one in /usr/local/php/bin.


----------------------------------------------------------------
% pear config-show
Configuration:
==============
[...]
PEAR Installer cache directory cache_dir /tmp/pear/cache
----------------------------------------------------------------
% sudo pear config-set cache_dir /var/tmp/pear/cache
could not create directory: /Users/jpk
----------------------------------------------------------------
% pear config-show
Configuration:
==============
[...]
PEAR Installer cache directory cache_dir /tmp/pear/cache
----------------------------------------------------------------

Why it would want to create '/Users/jpk' (which is my home directory), I
have no idea. The cache_dir setting is not being changed, in any case.
Anyone have an idea what is going on here?

Thanks,
Jan Pieter

--
Sorry, <devnull@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.

Closed Thread