[cvs] [Wiki] changed: GollemModule

Wiki Guest wikiguest at horde.org
Tue May 6 08:53:55 UTC 2008


guest [155.56.26.123]  Tue, 06 May 2008 04:53:55 -0400

Modified page: http://wiki.horde.org/GollemModule
New Revision:  1.2
Change log:  add '/'. before user root

@@ -1,21 +1,21 @@
-++ Typical gollem configuration scenarios ++
+++ Typical gollem configuration scenarios

-+++ Gollem with local files and separate user homes +++
++++ Gollem with local files and separate user homes
 A typical scenario with gollem is:

 * primary authentication is done by Horde (mysql), passwd or IMAP, but not
the authentication used by the gollem backend
 * you want users to store data in private directories, not mess with other
user's directories but have admins who can browse through everything. You
don't want the user to have to login separately or decide on backend or
something.
 * you want a public repository, for example for use on your website.


-++++ How to do ++++
+++++ How to do

-+++++ configure the backend for private storage +++++
++++++ configure the backend for private storage

 in gollem/config/backend.php

-$backends['file'] = array(
+``$backends['file'] = array(
     'name' => Auth::getAuth().'Home',
     'driver' => 'file',
     'preferred' => true,
     'hordeauth' => false,
@@ -25,15 +25,15 @@
         // The default permissions to set for newly created folders and
files.
         // 'permissions' => $conf['umask']
     ),
     'loginparams' => array(),
-    'root' => Auth::getAuth(),
+    'root' => '/' . Auth::getAuth(),
 //don't allow normal users to break out of their share
-    'home' => Auth::getAuth(),
+    'home' => '/' . Auth::getAuth(),
 //let users start at the root of their share
     'createhome' => true,
 //create home dir if necessary
     // 'filter' => '^regex$',
     // 'quota' => false,
     'clipboard' => true,
     'attributes' => array('type', 'name', 'edit', 'download', 'modified',
'size', 'permission', 'owner', 'group')
-);
+);``


More information about the cvs mailing list