[scponly] chroot functionality ...

Hideyuki KURASHINA rushani at bl.mmtr.or.jp
Tue Mar 22 08:24:37 EST 2005


Hi, ColinB and Sven,

>>> On Mon, 21 Mar 2005 01:38:09 -0800 (PST), ColinB <cbyh at yahoo.com> said:

> An extra level of directory setting may be useful.
[...]
> It could be done by just a small hack to the source code, but it would
> be nice to be able to set either scheme at configure time.

I thought this issue is already cared by --with-default-chdir=DIR
flag, but it seems not...

I think applying following patch will solve the problem.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- config.h.in.orig	Mon Nov 29 05:27:52 2004
+++ config.h.in	Tue Mar 22 22:11:46 2005
@@ -9,6 +9,7 @@
 #undef GFTP_COMPAT
 #undef RSYNC_COMPAT
 #undef UNISON_COMPAT 
+#undef ENABLE_DEFAULT_CHDIR
 #undef ENABLE_SCP2
 #undef ENABLE_SFTP
 #undef ENABLE_WILDCARDS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

... and I suppose similar issue is also applicable to subversion
support because ``#undef SVN_COMPAT'' line is not listed on config.h.in.
Is the scponly works with subversion on your host, Sven?

-- rushani



More information about the scponly mailing list