Bonjour, j aimerais mettre un repertoire upload sur mon serveur ftp ou il nest pas possible de d/l et de suprimer les fichiers
j ai donc fait :
Code :
- ServerName "gug"
- ServerType standalone
- DeferWelcome off
- SyslogLevel warn
- SystemLog /var/log/proftpd
- ShowSymlinks on
- MultilineRFC2228 on
- DefaultServer on
- ShowSymlinks on
- AllowOverwrite on
- TimeoutNoTransfer 600
- TimeoutStalled 600
- TimeoutIdle 1200
- DisplayLogin welcome.msg
- DisplayFirstChdir .message
- LsDefaultOptions "-l"
- DenyFilter \*.*/
- # Uncomment this if you are using NIS or LDAP to retrieve passwords:
- #PersistentPasswd off
- # Port 21 is the standard FTP port.
- Port 21
- # To prevent DoS attacks, set the maximum number of child processes
- # to 30. If you need to allow more than 30 concurrent connections
- # at once, simply increase this value. Note that this ONLY works
- # in standalone mode, in inetd mode you should use an inetd server
- # that allows you to limit maximum number of processes per service
- # (such as xinetd)
- MaxInstances 30
- MaxClients 2 "Sorry, the maximum number of allowed users are already connected (%m)"
- MaxClientsPerHost 1 "Sorry, you may not connect more than one time."
- MaxLoginAttempts 3
- # Set the user and group that the server normally runs at.
- User nobody
- Group nogroup
- DefaultRoot ~/ ftpusers
- AllowStoreRestart on
- <Anonymous /mnt/storage/ftp>
- User proftpd
- Group proftpd
- RequireValidShell off
- AuthAliasOnly on
- <Directory *>
- <Limit WRITE STOR DELE>
- DenyAll
- </Limit>
- </Directory>
- <Directory incoming>
- Umask 022 022
- <Limit STOR CWD MKD>
- AllowAll
- </Limit>
- </Directory>
- </Anonymous>
|
or je ne comprend pas ...
pour tester le fichier de conf je chmod mon rep upload,
il devient alors possible d uploader (normal) mais aussi de suprimer et de d/l des fichiers du rep upload ...
je ne vois pas ou est l erreur ...
merci d avance
ps fichier de conf modifie
Message édité par GUG le 25-03-2003 à 22:18:58