Summary | Incorrect Links |
Queue | Gollem |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | td (at) homenet (dot) tzo (dot) com |
Created | 04/05/2005 (7422 days ago) |
Due | |
Updated | 04/05/2005 (7422 days ago) |
Assigned | |
Resolved | 04/05/2005 (7422 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
Bug 1663.State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Incorrect Links
Queue ⇒ Gollem
I implemented this tonight and found the following:
When clicking on File Manager after first logging in, user gets taken
to their home directory.
The normal non-linux (unix, etc) user will not know to click on the
"Change Folder" link at the top and type in / to go to the root
directory.
Clicking on Change Folder, navigate to any folder on the drive. For
example, change to dir foo. User gets taken to the foo dir. There is
no longer a link to back to the / dir. When clicking on the "Home"
link at the top, the page tries to take the user to the user's home
dir under the dir that they are currently in. example, user is in dir
foo, clicking on the "Home" link at the top tries to take the user to
foo/user_home_dir.
My backends.php file:
$backends['file'] = array(
'name' => 'Virtual Home Directories',
'driver' => 'file',
'preferred' => '',
'root' => '',
'params' => array(
// The base location of user home directories.
'vfsroot' => '/http/vfs/',
// The name of the current user's home directory.
'home' => Auth::getAuth()
),
'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);
Parsing through Gollem.php and manager.php under the gollem dir, it
seems as if the function:
function getHome()
{
return $GLOBALS['gollem_be']['home'];
}
isn't actually grabbing the user's home or the root home.
Output of debugging:
currdir value from line 186 or manager.php: /Fun Videos/tony
globals gollem_be home value from line 150 of Gollem.php: tony
I'm not sure how to change this to add the "Root" link back to the
beginning of the path display right next to the refresh icon nor how
to change the "Home" link at the top of the page to go to the user's
actual dir or the root dir.
Any help on this would be appreciated.
Thanks,
Antonio DeLaCruz