6.0.0-beta1
7/28/25

[#1008] VFS file backend's root and home getting set to the same thing
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

History
01/15/2005 01:18:35 AM Jan Schneider Comment #3
State ⇒ Not A Bug
Reply to this comment
No feedback.
01/04/2005 03:13:17 AM Michael Slusarz State ⇒ Feedback
 
12/30/2004 07:00:52 AM Michael Slusarz Comment #2 Reply to this comment
'vfsroot' has nothing to do with Gollem - this is a VFS parameter.   
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?
12/22/2004 07:04:59 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
12/22/2004 07:03:08 PM liamr (at) umich (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ VFS file backend's root and home getting set to the same thing
Queue ⇒ Gollem
Reply to this comment
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?


Saved Queries