www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: benscha am 25. August 2004, 11:48:20



Titel: LIMIT DELE funzt nicht??
Beitrag von: benscha am 25. August 2004, 11:48:20
Hilfe ich versuche seit längerem auf meinem IPCOP meinen FTP Server in Betrieb zu nehmen, was mir auch teilweise gelungen ist. Server funzt kann mich einloggen up/downloaden. Jedoch hab ich ein kleineres Berechtingungsproblem wo ich nicht raus komme!!

ich versuche das Löschrecht zu entziehen (Limit DELE).

So sieht meine proftpd.conf aus:

Code:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
ServerType standalone
DefaultServer 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

# 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

# Set the user and group that the server normally runs at.
User nobody
#Group nogroup

# only for the web servers content
DefaultRoot /opt/samba/data/ftp

# Normally, we want files to be overwriteable.
<Directory /opt/samba/data/ftp>
AllowOverwrite on
<Limit DELE>
DenyAll
</Limit>
</Directory>



# nobody gets the password "lampp"
# commented out by lampp security


# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off



Ich bin für sämtliche Tipps dankbar


benscha


Titel: LIMIT DELE funzt nicht??
Beitrag von: Wörsty am 25. August 2004, 16:47:13
Habe da momentan keine Idee.
Ist im Debug was zu sehen?
Ich habe das so bei mir - und das geht:
Code:
 <Directory ~>

    <Limit WRITE SITE_CHMOD     DELE>
      DenyAll
    </Limit>

    <Limit READ DIRS>
      IgnoreHidden On
      AllowAll
    </Limit>
  </Directory>

  <Directory ~/uploads>

    <Limit SITE_CHMOD DELE>
      DenyAll
    </Limit>

    <Limit WRITE READ DIRS>
      AllowAll
      DenyAll
    </Limit>
  </Directory>