[Tickets #1008] NEW: VFS file backend's root and home getting set
to the same thing
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Dec 22 11:03:09 PST 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1008
-----------------------------------------------------------------------
Ticket | 1008
Created By | liamr at umich.edu
Summary | VFS file backend's root and home getting set to the same thing
Queue | Gollem
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
liamr at umich.edu (2004-12-22 11:03) wrote:
Per slusarz's request, I'm submitting this as a bug report.
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?
More information about the bugs
mailing list