ProFTPD: Kann FTP-Home Verzeichnis nicht zuweisen

Quiet

New Member
Hallo,
ich bin wirklich am verzweifeln, ich habe ProFTPD schon einmal eingerichtet und hatte damals überhaupt keine Probleme. Auf meinem neuen Debian-vServer will es allerdings einfach nicht funktionieren.

Meine Webseiten:
Code:
/var/websites/domain1.de
/var/websites/domain2.com
/var/websites/domain3.net
/var/websites/domain4.org
/var/websites/domain5.eu

Meine FTP-User (Passwörter ebenfalls zugeordnet):
Code:
useradd - /bin/false website01
useradd - /bin/false website02
useradd - /bin/false website03
useradd - /bin/false website04
useradd - /bin/false website05

Eigentümer für Webseiten festgelegt:
Code:
chown website01 /var/websites/domain1.de
chown website02 /var/websites/domain2.com
chown website03 /var/websites/domain3.net
chown website04 /var/websites/domain4.org
chown website05 /var/websites/domain5.eu

Meine proftpd.conf:
Code:
# FTP-User
DefaultRoot  /var/websites/domain1.de     website01
DefaultRoot  /var/websites/domain2.com    website02
DefaultRoot  /var/websites/domain3.net    website03
DefaultRoot  /var/websites/domain4.org    website04
DefaultRoot  /var/websites/domain5.eu     website05

# Einstellungen
include                      /etc/proftpd/modules.conf
ServerName                   "Debian"
ServerType                   standalone
DefaultServer                on
Port                         21
Umask                        002
MaxInstances                 30
User                         nobody
Group                        nogroup
DefaultRoot                  ~
AllowOverwrite               on
SystemLog                    /var/log/proftpd/proftpd.log
RequireValidShell            off
MaxClients                   5
MaxHostsPerUser              5
MaxClientsPerHost            5

Der Log aus proftpd.log:
Code:
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session opened.
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): USER website01: Login successful.
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website01/']: No such file or directory
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): website01 chroot("~/"): No such file or directory
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): error: unable to set default root directory
Nov 05 10:50:49 Debian proftpd[2932] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session closed.
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session opened.
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): USER website02: Login successful.
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website02/']: No such file or directory
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): website02 chroot("~/"): No such file or directory
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): error: unable to set default root directory
Nov 05 10:50:50 Debian proftpd[2933] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session closed.
Nov 05 10:50:51 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session opened.
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): USER website03: Login successful.
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website03/']: No such file or directory
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): website03 chroot("~/"): No such file or directory
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): error: unable to set default root directory
Nov 05 10:50:52 Debian proftpd[2934] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session closed.
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session opened.
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): USER website04: Login successful.
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website04/']: No such file or directory
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website04/']: No such file or directory
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): website04 chroot("~/"): No such file or directory
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): error: unable to set default root directory
Nov 05 10:50:53 Debian proftpd[2935] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session closed.
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session opened.
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): USER website05: Login successful.
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): notice: unable to use '~/' [resolved to '/home/website05/']: No such file or directory
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): Preparing to chroot to directory '~/'
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): website05 chroot("~/"): No such file or directory
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): error: unable to set default root directory
Nov 05 10:50:54 Debian proftpd[2936] Debian (xxx.dip.t-dialin.net[::ffff:63.373.137.136]): FTP session closed.

Das Problem ist wohl "error: unable to set default root directory", nur habe ich absolut keine Ahnung warum.

Es wäre wirklich toll, wenn mir jemand helfen könnte.
Das ist übrigens mein erste Beitrag ;)
Danke und Gruß
Quiet
 
Back
Top