Ich vermute fast das es etwas mit Benutzerrechten zu tun hat, in den Logs / Debuginformationen wird jedoch
nichts verzeichnet.
Download sowie CHMOD, löschen, Ordner anlegen usw. funktionieren tadellos!
Als BS verwende ich Debian Sarge 3.1, das Problem trat mit der Debian integrierten 2.1.0.15 Version genauso
auf wie es das jetzt mit der 3.0a tut
Ich habe schon viel gesucht und immer wenn ich das selbe Problem gefunden hab gab es entweder keine Antwort
oder der Fragensteller gab kein Feedback :p
Ich liste jetzt einfach mal alle Informationen auf die ich geben kann und hoffe einfach das mir irgendjemand helfen kann
Meine ProFTPD Konfigurationsdatei:
Code:
ServerName "Becker-Print-Soft - FTP-Server"
ServerType standalone
DefaultServer on
DeferWelcome off
Port 21
PassivePorts 50000 52000
MultilineRFC2228 on
ShowSymlinks on
ListOptions "-l"
UseReverseDNS off
IdentLookups off
DelayEngine off
CapabilitiesEngine off
#TLSEngine on
#TLSLog /var/log/tls.log
#TLSProtocol SSLv23
#TLSOptions NoCertRequest
#TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem
#TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem
#TLSVerifyClient off
User ftp
Group ftpuser
Umask 022 022
RequireValidShell no
DefaultRoot ~ ftpuser
#AuthPAM off
AuthUserFile /etc/ftpd.passwd
AuthGroupFile /etc/ftpd.group
TimeoutLogin 120
TimeoutIdle 3600
TimeoutNoTransfer 900
TimeoutStalled 3600
MaxClients 10
MaxInstances 30
MaxLoginAttempts 3
AllowOverwrite on
<Limit ALL>
AllowAll
</Limit>
Include /etc/proftpd/dirs-enabled/*.conf
ServerType standalone
DefaultServer on
DeferWelcome off
Port 21
PassivePorts 50000 52000
MultilineRFC2228 on
ShowSymlinks on
ListOptions "-l"
UseReverseDNS off
IdentLookups off
DelayEngine off
CapabilitiesEngine off
#TLSEngine on
#TLSLog /var/log/tls.log
#TLSProtocol SSLv23
#TLSOptions NoCertRequest
#TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem
#TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem
#TLSVerifyClient off
User ftp
Group ftpuser
Umask 022 022
RequireValidShell no
DefaultRoot ~ ftpuser
#AuthPAM off
AuthUserFile /etc/ftpd.passwd
AuthGroupFile /etc/ftpd.group
TimeoutLogin 120
TimeoutIdle 3600
TimeoutNoTransfer 900
TimeoutStalled 3600
MaxClients 10
MaxInstances 30
MaxLoginAttempts 3
AllowOverwrite on
<Limit ALL>
AllowAll
</Limit>
Include /etc/proftpd/dirs-enabled/*.conf
einzigste Datei in /etc/proftpd/dirs-enabled/
Code:
<Directory /srv/www/htdocs/>
DirFakeUser on ftp
DirFakeGroup on ftpuser
<Limit ALL>
AllowUser master
DenyAll
</Limit>
<Limit SITE_CHMOD>
AllowUser master
DenyAll
</Limit>
</Directory>
DirFakeUser on ftp
DirFakeGroup on ftpuser
<Limit ALL>
AllowUser master
DenyAll
</Limit>
<Limit SITE_CHMOD>
AllowUser master
DenyAll
</Limit>
</Directory>
die Datei /etc/ftpd.passwd
Code:
master:XXXXXXXXXXXXXX:104:1000::/srv/www/htdocs:/bin/false
Soviel zu den Konfigurationen, jetzt einmal der Debug-Mitschnitt einer 300 Byte großen
erfolgreich übertragenen Datei.
Code:
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,198,197).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - in dir_check(): setting umask to 0022 (was 0022)
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:50885
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:3279
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - Transfer completed: 300 bytes in 0.06 seconds
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching POST_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD_ERR command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,199,100).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'LIST -aL' to mod_ls
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:51044
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:1736
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'LIST -aL' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'LIST -aL' to mod_ls
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,198,197).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - in dir_check(): setting umask to 0022 (was 0022)
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:50885
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:3279
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'STOR /srv/www/htdocs/website.de/foo/styles.css' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - Transfer completed: 300 bytes in 0.06 seconds
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching POST_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'SITE CHMOD 644 /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_site
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD_ERR command 'SITE UTIME 20050612000000 /srv/www/htdocs/website.de/foo/styles.css' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,199,100).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'LIST -aL' to mod_ls
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:51044
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:1736
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'LIST -aL' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'LIST -aL' to mod_ls
Nun eine Datei welche ~200kb groß ist, diese wird garnicht erst begonnen sondern bleibt bei 0 Byte.
Die Datei wird allerdings korrekt angelegt und besitzt die richtigen Rechte sowie Benutzer/Gruppe:
Code:
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,197,107).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - in dir_check(): setting umask to 0022 (was 0022)
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:50539
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:14930
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'PASV' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - Entering Passive Mode (33,33,33,33,197,107).
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching LOG_CMD command 'PASV' to mod_log
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_core
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching PRE_CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - in dir_check(): setting umask to 0022 (was 0022)
server.webperoni.de (88.88.88.88[88.88.88.88]) - dispatching CMD command 'STOR /srv/www/htdocs/website.de/foo/changelog.log' to mod_xfer
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - local : 33.33.33.33:50539
server.webperoni.de (88.88.88.88[88.88.88.88]) - passive data connection opened - remote : 88.88.88.88:14930
Mehr passiert auf der Server-Seite nicht, der Client bricht dann irgendwann ab weil er die Verbindung verloren hat.
ProFTPD Version: 1.3.0a (stable):
Code:
Scoreboard Version: 01040002
- Built: Sat Dec 30 11:05:43 CET 2006
- Module: mod_core.c
- Module: mod_xfer.c
- Module: mod_auth_unix.c
- Module: mod_auth_file.c
- Module: mod_auth.c
- Module: mod_ls.c
- Module: mod_log.c
- Module: mod_site.c
- Module: mod_delay/0.5
- Module: mod_cap/1.0
- Built: Sat Dec 30 11:05:43 CET 2006
- Module: mod_core.c
- Module: mod_xfer.c
- Module: mod_auth_unix.c
- Module: mod_auth_file.c
- Module: mod_auth.c
- Module: mod_ls.c
- Module: mod_log.c
- Module: mod_site.c
- Module: mod_delay/0.5
- Module: mod_cap/1.0