[cvs] [Wiki] changed: GollemFtpJail

Wiki Guest wiki at wiki.horde.org
Thu Feb 9 07:11:44 PST 2006


guest [81.227.136.110]  Thu, 09 Feb 2006 07:11:43 -0800

Modified page: http://wiki.horde.org/GollemFtpJail
New Revision:  2.1
Change log:  faulty approach removed

@@ -6,13 +6,18 @@
 # 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.
+----
+(section describing userhome-relative paths for root and home deleted)
+----
+(later...)
 
-Turns out the backend processing can in fact handle the required shorthand, and one can specify jail root relative user home.
+Turns out the problem was wrongly posed.
+* FTP jail is normally handled by the FTP server in its configuration. proftp for example allows domain-specific jails. Fine.
+* ''Problem'' is actually to dynamically set 'hostspec' to be the current user's domain so that one-click login to ftp works with correct ftp-server-resolving of appropriate jail root.
 
-Thus, the following achieves the goal of (2)
-{{  'root' => '~/../..', }}
-{{  'home' => '~', }}
+Is for example the current domain running horde available as
+ 'hostspec' => $GLOBALS['something...'],
 
-The undocumented part is that setting 'root' requires that 'home' also be specified (Gollem v1).
+For that matter, is there any quick way to see what global values are available?
 


More information about the cvs mailing list