[gollem] VFS file backend's root and home getting set to the same thing

Michael M Slusarz slusarz at mail.curecanti.org
Wed Dec 22 00:14:26 PST 2004


Quoting Liam Hoekenga <liamr at umich.edu>:

> I've got the following block in backends.php..
>
>     'params' => array('vfsroot' => '/usr/local/projects/files/vfsroot/',
>                       'home' => '/afs/umich.edu/user/'
>                           . substr ($_SERVER['REMOTE_USER'], 0, 1)
>                           . '/' . substr ($_SERVER['REMOTE_USER'], 1, 1)
>                           . '/' . $_SERVER['REMOTE_USER'])
>
> /usr/local/projects/files/vfsroot contains a directory ("afs") in 
> which lies a
> symlink ("umich.edu") to the actual /afs/umich.edu on the root 
> filesystem.  I'm
> running into a problem where manager.php is dropping me into the root 
> directory,
> which it's setting to be /afs/umich.edu/user/u/s/username.  Querying the
> $_SESSION['gollem'] array, I see..
>
>     [home ] => /afs/umich.edu/user/u/s/username
>     [dir ] => /afs/umich.edu/user/u/s/username
>     [root ] => /afs/umich.edu/user/u/s/username
>
> This worked in previous versions... where ['home'] was relative to 
> ['root'].  I
> can't tell if it's using the version relative to root, or whether it's using
> the actual path on my file system.  I need the root to be 
> /afs/umich.edu, and I
> need the paths to include those directory, hence the symlinks.
>
> Any ideas / suggestions?

Could you copy/paste this to a bug report on http://bugs.horde.org/?

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the gollem mailing list