[cvs] [Wiki] changed: GollemFtpJail
Wiki Guest
wiki at wiki.horde.org
Tue Feb 7 15:33:52 PST 2006
guest [81.227.142.180] Tue, 07 Feb 2006 15:33:52 -0800
Modified page: http://wiki.horde.org/GollemFtpJail
New Revision: 2.0
Change log: describing tip
@@ -1 +1,18 @@
++ Specifying multi-domain jails in Gollem FTP
+
+Not exactly documented, most people may assume that setting an FTP jail is restricted to absolute paths in Gollem's {{ backend.php }}.
+
+This is clearly not suitable for servers where users log into virtual sites under different domains. Two styles of jails are then desired:
+# The user is restricted to {{ /path/to/site-root/home/user }}
+# The user is restricted to {{ /path/to/site-root }} (suitable for site owners)
+
+Trouble is, the site-root location is a variable.
+
+Turns out the backend processing can in fact handle the required shorthand, and one can specify jail root relative user home.
+
+Thus, the following achieves the goal of (2)
+{{ 'root' => '~/../..', }}
+{{ 'home' => '~', }}
+
+The undocumented part is that setting 'root' requires that 'home' also be specified (Gollem v1).
More information about the cvs
mailing list