Only in gollem/config: backends.php
Only in gollem/config: conf.php
Only in gollem/config: credentials.php
Only in gollem/config: mime_drivers.php
Only in gollem/config: motd.php
Only in gollem/config: prefs.php
diff -ur gollem.orig/manager.php gollem/manager.php
--- gollem.orig/manager.php	2005-03-21 08:03:49.000000000 +0000
+++ gollem/manager.php	2005-04-02 23:10:01.000000000 +0100
@@ -190,12 +190,20 @@
 if (is_a($info['list'], 'PEAR_Error')) {
     /* If this is a user's home directory, try autocreating it. */
     if ($currdir == Gollem::getHome()) {
-        if (is_a($created = Gollem::createFolder('', $currdir), 'PEAR_Error')) {
+        if (is_a($created = Gollem::createFolder(Gollem::getRoot(), substr($currdir,strlen(Gollem::getRoot())+1)), 'PEAR_Error')) {
             $notification->push(sprintf(_("Cannot create home directory: %s"), $created->getMessage()), 'horde.error');
         } else {
             $info['list'] = Gollem::listFolder($currdir);
         }
-    }
+    } else if ($currdir == Gollem::getRoot()) {
+    /* If this is a root directory, try autocreating it. */
+        if (is_a($created = $GLOBALS['gollem_vfs']->createFolder('', $currdir), 'PEAR_Error')) {
+            $notification->push(sprintf(_("Cannot create root directory: %s"), $created->getMessage()), 'horde.error');
+         } else {
+             $info['list'] = Gollem::listFolder($currdir);
+         }
+     }
+
 
     /* If that didn't work, fall back to the parent or the home directory. */
     if (is_a($info['list'], 'PEAR_Error')) {
