[gollem] gollem ftp /tmp error

Arnoud Bos arnoudb at gmail.com
Wed Nov 22 08:46:56 PST 2006


Hi All,

Don't know what happened but before it jus worked fine, but now when i
start gollem i get the following error:


Warning: ftp_rawlist() [function.ftp-rawlist]: open_basedir
restriction in effect. File(/tmp) is not within the allowed path(s):
(/var/www/web5/) in /var/www/web5/web/horde/lib/VFS/ftp.php on line
443

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create
temporary file. Check permissions in temporary files directory. in
/var/www/web5/web/horde/lib/VFS/ftp.php on line 443


I changed the permissions  for /tmp to 777 but that doesn't work.  Any
suggestions would be welcome!
I played with the backends.php but without luck. So i restored it to
the settings that initially worked fine:

from backends:

$backends['ftp'] = array(
    'name' => 'FTP Server',
    'driver' => 'ftp',
    'preferred' => '',
    'hordeauth' => false,
    'params' => array(
        // The hostname/IP Address of the FTP server
        'hostspec' => 'localhost',
        // The port number of the FTP server
        'port' => 21,
        // Use passive mode?
        'pasv' => false,
        // Set timeout (in seconds) for the FTP server. Default: 90 seconds
        // 'timeout' => 90,
        // If true and the POSIX extension is available the driver will map
        // the user and group IDs returned from the FTP server with the local
        // IDs from the local password file.  This is useful only if the FTP
        // server is running on localhost or if the local user/group
        // IDs are identical to the remote FTP server.
        // 'maplocalids' => true
    ),
    //'loginparams' => array(
        // Allow the user to change the FTP server
        //'hostspec' => $_SERVER['SERVER_ADDR'],
        // Allow the user to change the FTP port
        //'port' => '21'
    //),
    //'root' => '/var/www/web5/',
    //'home' => '/var/www/web5/',
    // 'createhome' => false,
    // 'permissions' => '750',
    // 'filter' => '^regex$',
    // 'quota' => false,
    'clipboard' => true,
    'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);





Thanx

Arnoud


More information about the gollem mailing list