www.ProFTPD.de
13. März 2007, 22:00:13 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Verzeichnisse erstellen geht nicht..  (Gelesen 178 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
uwe
Gast
« am: 05. Dezember 2004, 19:05:17 »

noch nicht mal im Home. Linux Rechte dürften passen. Verzeichnis kann als User per putty erstellt werden, aber nicht per ftp. Auch mit chmod 777 keine Änderung. Verzeichnis löschen funktioniert aber. Habe eigentlich alles freigegeben:

<Directory ~>
<Limit All>
AllowAll
</Limit>
</Directory>

Auch andere Varianten funktionieren nicht. Gibt es da noch irgendeine Sicherheitssperre. Komme einfach nicht weiter.

Viele Grüße Uwe
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 06. Dezember 2004, 06:02:58 »

Zitat von: "uwe"
noch nicht mal im Home. Linux Rechte dürften passen. Verzeichnis kann als User per putty erstellt werden, aber nicht per ftp. Auch mit chmod 777 keine Änderung. Verzeichnis löschen funktioniert aber. Habe eigentlich alles freigegeben:

<Directory ~>
<Limit All>
AllowAll
</Limit>
</Directory>

Auch andere Varianten funktionieren nicht. Gibt es da noch irgendeine Sicherheitssperre. Komme einfach nicht weiter.

Viele Grüße Uwe


komplette Config ?
Debug Log ?
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
uwe
Gast
« Antwort #2 am: 06. Dezember 2004, 18:55:17 »

Hallo stonki,

hier erst mal die config:

# 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         "thunder"
ServerType         inetd
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 under which the server will run.
User            nobody
Group            nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~/ftp-home

# Normally, we want files to be overwriteable.
AllowOverwrite      on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# langsame Logins verhindern
UseReverseDNS off
IdentLookups off

# Nur folgende User duerfen sich per ftp anmelden
<Limit Login>
    AllowUser us ms wp
    DenyAll
</Limit>

# LogFiles mit den Verbindungsdaten
TransferLog   /var/log/proftpd/xferlog.log

<Directory ~>
    <Limit ALL>
   AllowAll
    </Limit>
</Directory>
#Ende

und hier ein debug (hoffe, es ist richtig so):

thunder:/usr/local/etc # proftpd -d9
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'Port' to module mod_core
 - dispatching directive 'Umask' to module mod_core
 - dispatching directive 'MaxInstances' to module mod_core
 - dispatching directive 'User' to module mod_core
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching directive 'Group' to module mod_core
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'AllowOverwrite' to module mod_xfer
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'DenyAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive 'UseReverseDNS' to module mod_core
 - dispatching directive 'IdentLookups' to module mod_core
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'AllowUser' to module mod_core
 - dispatching directive 'DenyAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive 'TransferLog' to module mod_core
 - dispatching directive '<Directory>' to module mod_core
 - <Directory ~>: adding section for resolved path '~'
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'AllowAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive '</Directory>' to module mod_core
 - FS: using system read()
 - FS: using system close()
thunder.local -
thunder.local - Config for thunder:
thunder.local - ~
thunder.local -  Limit
thunder.local -   AllowAll
thunder.local -  Umask
thunder.local -  AllowOverwrite
thunder.local -  TransferLog
thunder.local - Limit
thunder.local -  AllowUser
thunder.local -  DenyAll
thunder.local - Limit
thunder.local -  DenyAll
thunder.local - DefaultServer
thunder.local - Umask
thunder.local - UserID
thunder.local - UserName
thunder.local - GroupID
thunder.local - GroupName
thunder.local - DefaultRoot
thunder.local - AllowOverwrite
thunder.local - IdentLookups
thunder.local - TransferLog
thunder.local - dispatching auth request "getgroups" to module mod_auth_file
thunder.local - dispatching auth request "getgroups" to module mod_auth_unix
thunder.local - SETUP PRIVS at main.c:2733
thunder.local - ROOT PRIVS at main.c:1967
thunder.local - RELINQUISH PRIVS at main.c:1974
thunder.local - ROOT PRIVS at main.c:2260
thunder.local - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
thunder.local - RELINQUISH PRIVS at main.c:2288
thunder.local - fatal: Socket operation on non-socket
thunder.local - (Running from command line? Use `ServerType standalone' in config file!)
thunder:/usr/local/etc #

Ich hoffe, Du kannst mir damit helfen.

Viele Grüße Uwe
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.055 Sekunden mit 16 Zugriffen.