Summary | VFS file backend's root and home getting set to the same thing |
Queue | Gollem |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | liamr (at) umich (dot) edu |
Created | 12/22/2004 (7523 days ago) |
Due | |
Updated | 01/15/2005 (7499 days ago) |
Assigned | 01/04/2005 (7510 days ago) |
Resolved | 01/15/2005 (7499 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
Sounds like you need the following:
$backends['vfs'] = array(
'root' = '/afs/umich.edu',
'params' = array(
'vfsroot' = 'foo',
'home' = 'foo2'
)
);
Does this work the way you are expecting?
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ VFS file backend's root and home getting set to the same thing
Queue ⇒ Gollem
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?