[gollem] file backend: access problem

Michael M Slusarz slusarz at mail.curecanti.org
Tue Jul 12 07:12:59 PDT 2005


Quoting Marcos Monge <mmonge at gmail.com>:

> Hi
>
> I have some strange problem with path to folders using the file
> backend and Gollem Beta version.
>
> Upload of files it's ok, but any other operation give 2 erros like
> this (for user test1 for example):
> Access denied to folder "test1/test1".
> Access denied to folder "test1
>
> The backend config is:
> $backends['file'] = array(
>    'name' => 'Virtual Home Directories',
>    'driver' => 'file',
>    'preferred' => '',
>    'params' => array(
>        // The base location under which the user home directories live.
>        'vfsroot' => '/ficheros_web/',
>        // The name of the current user's home directory.
>        'home' => Auth::getAuth()
>    ),
>    'loginparams' => array(),
>    'attributes' => array('type', 'name', 'download', 'modified',
> 'size', 'permission', 'owner', 'group')
>
> and the filesystem contents is:
> # ls -lR /ficheros_web/
> /ficheros_web/:
> total 12
> drwxr-xr-x    2 apache   apache       4096 Jul  5 14:08 test1
> drwxr-xr-x    2 apache   apache       4096 Jul  5 13:47 test2
>
> /ficheros_web/test1:
> total 36
> -rw-------    1 apache   apache      35840 Jul  5 13:58 uploadtestfile
>
>
>
> Gollem is trying to access a "test1" directory instead of
> "/ficheros_web/test1/". Any idea?
> Similar instalation with a 3 or 4 month ago cvs version was OK.

This has been fixed in CVS.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the gollem mailing list