[gollem] SQL backend and check quota

Marco Pirovano marco.pirovano at unibocconi.it
Tue Apr 11 01:49:10 PDT 2006


Hi,

I've installed gollem 1.0.2 with horde 3.1.1 and set the 'sqlhome' as backend.
I set the quota to 10 MB and uploaded some files to the backend for about
2 MB of size.
If I "Check Quota" the Quota Display is showed, but with "10.00 MB free (100%)".

This is my backend.php:

// This backend specifies a home directory and root directory in a SQL vfs.
$backends['sqlhome'] = array(
    'name' => 'SQL Server with home',
    'driver' => 'sql',
    'preferred' => '',
    'hordeauth' => true,

    // The default connection details are pulled from the Horde-wide SQL
    // connection configuration.
    'params' => array_merge($GLOBALS['conf']['sql'], array('table' => 'horde_vfs')),

    // If you need different connection details than from the Horde-wide SQL
    // connection configuration, uncomment and set the following lines.
    // 'params' => array(
    //     // The SQL connection parameters. See horde/config/conf.php for
    //     // descriptions of each parameter.
    //     'phptype' => 'mysql',
    //     'hostspec' => 'localhost',
    //     'database' => 'horde',
    //     'username' => 'horde',
    //     'password' => 'horde',
    //
    //     // The SQL table containing the VFS. See the horde/scripts/db
    //     // directory for examples.
    //     'table' => 'horde_vfs'
    // ),
    'loginparams' => array(),
    'root' => '/home/' . Auth::getAuth(),
    'home' => '/home/' . Auth::getAuth(),
    // 'createhome' => false,
    // 'filter' => '^regex$',
    'quota' => '10 MB',
    'clipboard' => true,
    'attributes' => array('type', 'name', 'download', 'modified', 'size',
'permission', 'owner', 'group'),
);


Is the "Quota Check" supported in this backend ?

Thank you very much.

Ciao,
Marco

* Marco Pirovano
* Universita' Bocconi, Area Sistemi Informatici e Telematici
* Piazza Sraffa 11 - 20136 Milano
* Tel. +39 02 5836.3173  Fax. +39 02 5836.3160  VoIP. 02 5828.3173


More information about the gollem mailing list