[horde] Re: H3 setup - don't have access to /tmp

Christopher Huyler chris at huyler.net
Thu Feb 10 21:53:06 PST 2005


Ok, I found it.  In "lib/Horde/Util.php" on line 432 (Horde-3.0.2 that is)
there is a function called getTempDir().  This function searches a bunch of
places to get the temporary directory.  However, it never checks
$conf['tmpdir'].  Can this be fixed?  I made a temporary change in my
version but others may run into this.
 
-----Original Message-----
From: Christopher Huyler [mailto:chris at huyler.net] 
Sent: Friday, February 11, 2005 12:44 AM
To: 'horde at lists.horde.org'
Subject: H3 setup - don't have access to /tmp

Hi all, I'm trying to set up Horde 3.0.2 but I don't have full access to the
web server.  I keep getting the following error when I try to generate the
horde configuration...

Warning: SAFE MODE Restriction in effect. The script whose uid is 682 is not
allowed to access /tmp owned by uid 0 in
/home/virtual/site7/fst/var/www/html/horde-3.0.2/lib/Horde/Token/file.php on
line 72

I tried adding the following lines to config/conf.php before connecting and
doing the rest via horde but it still gives me the same error with the same
path (/tmp). This worked with Horde 2...

$conf['tmpdir'] = '/home/virtual/site7/fst/tmp';
$conf['vfs']['type'] = 'file';
$conf['vfs']['params']['vfsroot'] = '/home/virtual/site7/fst/tmp/vfsroot';

Are there any other values that use /tmp as the default that I need to set
manually?

--
Christopher Huyler
chris at huyler.net



More information about the horde mailing list