Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: linuxhelp on August 11, 2009, 06:41:42 PM

Title: Short question FTP to /home/e-smith/files?
Post by: linuxhelp on August 11, 2009, 06:41:42 PM
howto?

 db configuration setprop ftp "local_root" /home/e-smith/files??

thanks..
that user see all ibays and homes
Title: Re: Short question FTP to /home/e-smith/files?
Post by: linuxhelp on August 11, 2009, 06:59:15 PM
Solution:

db configuration ftp setprop ChrootDir /home/e-smith/files/ibays
expand-template /etc/proftpd.conf
service ftp restart

test it, to disable anonymous access to Primary set Primary rights to 000

Tom
Title: Re: Short question FTP to /home/e-smith/files?
Post by: CharlieBrady on August 11, 2009, 07:50:19 PM
that user see all ibays and homes

User can already do "cd ../.." then look around (unless ChrootDir properties have been set).