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

Liam Hoekenga liamr at umich.edu
Tue Dec 21 12:24:11 PST 2004


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?

Liam


More information about the gollem mailing list