wenn ich die ftpuser in ihrer home Ordner mit dem Befehl DefaultRoot ~ ordne, so wird die Zeitangabe zur Datei 2 Stunde zurück geschtelt. (warscheinlich auf GMT Zeit)
wenn ich DefaultRoot ~ kommantiere lauft wieder ganze okey
DefaultRoot und TimesGMT steht im <Global>
Andersrum habe ich auch ausprobiert.
habt ihr was zu empfehlen
danke
Code:
TransferLog /var/log/proftpd.xferlog
LogFormat default "%t %h %l %u \"%r\" %D %f %m "
ExtendedLog /var/log/proftpd.paranoid_log ALL default
ServerName "media"
ServerType standalone
#ServerType inetd
DeferWelcome off
#IE sorunlari
PassivePorts 51000 51999
MaxClientsPerUser 40
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
UseReverseDNS off
IdentLookups off
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
<Global>
DefaultChdir ~
DefaultRoot ~
TimesGMT off
</Global>
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Uncomment this if you would use TLS module:
#TLSEngine on
# Uncomment this if you would use quota module:
#Quotas on
# Uncomment this if you would use ratio module:
#Ratios on
# Port 21 is the standard FTP port.
Port 21
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 000 000
# Normally, we want files to be overwriteable.
AllowOverwrite on
</Directory>
######################################
<Directory /var/home/kunden/*>
<Limit DELE>
DenyAll
</Limit>
<Limit ALL DELE>
AllowUser admin
</Limit>
<Limit MKD RETR PWD LOGIN LIST CWD XCMD CDUP XCDUP STOR >
AllowAll
</Limit>
# Forbid Overwrite
AllowOverwrite off
</Directory>
LogFormat default "%t %h %l %u \"%r\" %D %f %m "
ExtendedLog /var/log/proftpd.paranoid_log ALL default
ServerName "media"
ServerType standalone
#ServerType inetd
DeferWelcome off
#IE sorunlari
PassivePorts 51000 51999
MaxClientsPerUser 40
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
UseReverseDNS off
IdentLookups off
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
<Global>
DefaultChdir ~
DefaultRoot ~
TimesGMT off
</Global>
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Uncomment this if you would use TLS module:
#TLSEngine on
# Uncomment this if you would use quota module:
#Quotas on
# Uncomment this if you would use ratio module:
#Ratios on
# Port 21 is the standard FTP port.
Port 21
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 000 000
# Normally, we want files to be overwriteable.
AllowOverwrite on
</Directory>
######################################
<Directory /var/home/kunden/*>
<Limit DELE>
DenyAll
</Limit>
<Limit ALL DELE>
AllowUser admin
</Limit>
<Limit MKD RETR PWD LOGIN LIST CWD XCMD CDUP XCDUP STOR >
AllowAll
</Limit>
# Forbid Overwrite
AllowOverwrite off
</Directory>