Prawdopodobnie masz źle skonfigurowanego proftpd plus UPRAWNIENIA do katalogów na NN.
Ja mam tak :
proftpd.conf
ServerName "Serwer PitSoft"
#ServerType standalone
ServerType inetd
DefaultServer on
#ServerIdent on "moja domena.pl"
AllowRetrieveRestart on
AllowStoreRestart on
AllowOverwrite on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off
SystemLog /var/log/proftpd/proftpd.log
TransferLog /var/log/proftpd/xferlog
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
DefaultRoot ~
# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 5 "Max klientów = 5"
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Ograniczenie transferu w kB
TransferRate RETR 1000
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory upload/*>
# Ograniczenia CZYTANIA
<Limit READ>
DenyAll
</Limit>
# Ograniczenia ZAPAMIETYWANIA
<Limit STOR>
AllowAll
</Limit>
# Ograniczenia TWORZENIA KATALOGU
<Limit MKD>
AllowAll
</Limit>
</Directory>
</Anonymous>
Katalogi ftp :
drwxr-xr-x 2 root root 4096 Apr 5 2005 JaS
drwxr-xr-x 12 root root 4096 Oct 4 09:56 Pit
drwxr-xr-x 9 root root 4096 Jun 23 17:35 linux
drwxr-xr-x 4 root root 4096 Aug 23 2004 muzyka
drwxr-xr-x 3 root root 4096 Feb 3 2005 pub
drwxr-xr-x 8 ftp ftp 8192 Oct 4 09:50 upload
-r--r--r-- 1 root root 109 Jul 30 2004 welcome.msg
drwxr-xr-x 6 root root 4096 Jun 9 18:37 windows
Założenia :
- Serwer ftp uruchamiany na żądanie ,
- Do zapisu służy TYLKO katalog upload,
- Każdy może zapisywać na upload,
- NIKT nie widzi co jest w katalogu ( nie może sobie zrobić DYSKU INTERNETOWEGO),
- Ograniczenie transferu do 1000KB
- być może coś jeszcze, ale już nie pamietam...
===
Z tak ustawionego proftp moze ściągać każdy i każdy moze przerzucać pliki do katalogu upload ale ich nie zobaczy (za pomocą MC i NC - oczywiście też) . Potem jako root kopiuję je tam gdzie trzeba.
_________________
Określenie przy nicku to tylko dla 'jaj'; tytuł za ilość postów.
Ja ciągle się uważam za niewinne dziecię w sprawach linuksa; żaden guru czy inny moderator