Koozali.org: home of the SME Server

Short question FTP to /home/e-smith/files?

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Short question FTP to /home/e-smith/files?
« 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
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Short question FTP to /home/e-smith/files?
« Reply #1 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
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Short question FTP to /home/e-smith/files?
« Reply #2 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).