[opencms-dev] Re: Opencms ftpd module

Ruben Malchow ruben at khm.de
Wed May 24 10:28:59 CEST 2006


hi roland,

i have now introduced a new parameter called "chroot", which is actually 
not exactly a correct name. what it does is this: throw the user in the 
specified directory and preventing him from CDUPing or CWDing above it.

this means that the users may see

	/Offline/sites/foobar

as their cwd, but can't go to

	/Offline/sites

it is specified as a module parameter in the form

	chroot=[PROJECTNAME]/[path within project]

this is a server-wide setting, so all users will see this. a way to get 
around that would be to introduce another setting that states usernames 
to be excepted from this. would that be of interest?

new archive at

	http://disco.kalkatraz.de/opencmsftpd

pling!

.rm



More information about the opencms-dev mailing list