www.ProFTPD.de
13. März 2007, 20:58:15 *
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  
  Zeige Beiträge
Seiten: [1]
1  ProFTPD / ProFTPD - Deutsch / Re: Standart dateirechte am: 10. Oktober 2006, 18:32:23
ok hier der debug -->


Code:
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'TYPE I' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'TYPE I' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'TYPE I' to mod_xfer
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'TYPE I' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'TYPE I' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'TYPE I' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD_ERR command 'SIZE background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD_ERR command 'SIZE background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD_ERR command 'SIZE background.gif' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/', fullpath = '/home/sr24-webcam/public_html/'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - Entering Passive Mode (85,214,61,254,135,83).
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'PASV' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'PASV' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'PASV' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'STOR background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'STOR background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'STOR background.gif' to mod_quotatab
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'STOR background.gif' to mod_xfer
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/background.gif', fullpath = '/home/sr24-webcam/public_html/background.gif'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): setting umask to 7777 (was 0777)
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - HiddenStore: complex path, will rename /.in.background.gif. to /background.gif
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'STOR background.gif' to mod_xfer
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - passive data connection opened - local  : xxx.xxx.xx.xxx:34643
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - passive data connection opened - remote : xxx.xxx.xx.xxx:21956
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'STOR background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'STOR background.gif' to mod_quotatab
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'STOR background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'STOR background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'STOR background.gif' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'STOR background.gif' to mod_xfer
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - Transfer completed: 806 bytes in 0.11 seconds
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'MDTM 20061008094955 background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'MDTM 20061008094955 background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'MDTM 20061008094955 background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD_ERR command 'MDTM 20061008094955 background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD_ERR command 'MDTM 20061008094955 background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD_ERR command 'MDTM 20061008094955 background.gif' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'SIZE background.gif' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/background.gif', fullpath = '/home/sr24-webcam/public_html/background.gif'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'SIZE background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'SIZE background.gif' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'SIZE background.gif' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'TYPE A' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'TYPE A' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'TYPE A' to mod_xfer
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'TYPE A' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'TYPE A' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'PASV' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/', fullpath = '/home/sr24-webcam/public_html/'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - Entering Passive Mode (85,214,61,254,135,84).
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'PASV' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'PASV' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'PASV' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching CMD command 'LIST -aL' to mod_ls
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - passive data connection opened - local  : xxx.xxx.xx.xxx:34644
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - passive data connection opened - remote : xxx.xxx.xx.xxx:21957
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/', fullpath = '/home/sr24-webcam/public_html/'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/G3webcam.class', fullpath = '/home/sr24-webcam/public_html/G3webcam.class'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/background.gif', fullpath = '/home/sr24-webcam/public_html/background.gif'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/cam_1.jpg', fullpath = '/home/sr24-webcam/public_html/cam_1.jpg'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/cam_2.jpg', fullpath = '/home/sr24-webcam/public_html/cam_2.jpg'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/camoffline.jpg', fullpath = '/home/sr24-webcam/public_html/camoffline.jpg'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - in dir_check_full(): path = '/testtone.mp3', fullpath = '/home/sr24-webcam/public_html/testtone.mp3'.
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - AllowOverride denies all .ftpaccess files
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching POST_CMD command 'LIST -aL' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'LIST -aL' to mod_sql
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'LIST -aL' to mod_log
linux (xxx.xxx.xx.xxx[xxx.xxx.xx.xxx]) - dispatching LOG_CMD command 'LIST -aL' to mod_ls




2  ProFTPD / ProFTPD - Deutsch / Re: Standart dateirechte am: 10. Oktober 2006, 16:48:42
hmm ok also ftp - clients hab ich glaub genug ausprobiert um zu sagen das es nich am client liegt


ok dan hier mal die config :


Code:
# Universelles Muster einer proftpd.conf
#
# Diese Konfigurationsdatei ist fuer den Standard-ProFTPD
# als auch mit eincompilierten mySQL- und TLS-Support.
# Einzelne Direktiven oder ganze Bereiche wurden durch ein
# Kommentarzeichen ("#") deaktivert und sind bei Bedarf
# wieder einfach zu reaktivieren.
#
# Dies ist nur ein Muster und entsprechend anzupassen -
# eine Garantie gleich jedwelcher Art ist ausgeschlossen.
#
# 2006 Volker Gass
 
 
ServerType standalone
PidFile /var/run/proftpd.pid
 
MaxInstances 30
MaxConnectionRate 4
SocketBindTight off
UseReverseDNS off
Port xxxx
 
RootRevoke on
DefaultServer on
MultilineRFC2228 on
 
<IfModule mod_delay.c>
DelayEngine off
DelayTable /var/run/proftpd/proftpd.delay
</IfModule>
 
<IfModule mod_tls.c>
TLSProtocol SSLv23
</IfModule>
 
# Log-Formate definieren
SystemLog NONE
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
 
 
 
# --------------------------------------------
# globale Settings
# --------------------------------------------
 
<Global>
User nobody
Group nobody
 
 
# --------------------------------------------
# Login
# --------------------------------------------
 
ServerIdent on "FTP server ready."
DeferWelcome on
DisplayConnect /etc/proftpd.msg
 
IdentLookups off
UseFtpUsers off
RequireValidShell off
 
TimeoutLogin 60
MaxLoginAttempts 3
MaxClientsPerHost 3
 
 
# --------------------------------------------
# Authentifikation: Standard
# --------------------------------------------
 
<IfModule !mod_sql.c>
AuthOrder mod_auth_unix.c
 
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
</IfModule>
 
 
# --------------------------------------------
# Authentifikation per SQL
# --------------------------------------------
 
<IfModule mod_sql.c>
AuthOrder mod_sql.c
 
SQLConnectInfo xxx@xxx xxx xxx
SQLUserInfo usertable userid passwd uid gid homedir shell
SQLAuthTypes Backend

SQLAuthenticate users*
SQLGroupInfo        grouptable groupname gid members
#SQLUserWhereClause    "disabled=0 and (NOW()<=expiration or
SQLMinUserUID 1024
SQLMinUserGID 555
SQLNegativeCache on
</IfModule>
 
#
# aktive SQL Kommandos, ab hier passiert etwas :-)
#
# Log the user logging in
SQLLog PASS counter
SQLNamedQuery counter UPDATE "lastlogin=now(), count=count+1 WHERE userid='%u'" usertable

# logout log
SQLLog EXIT time_logout
SQLNamedQuery time_logout UPDATE "lastlogout=now() WHERE userid='%u'" usertable

# display last login time when PASS command is given
SQLNamedQuery login_time SELECT "lastlogin from usertable where userid='%u'"
SQLShowInfo PASS "230" "Last login was: %{login_time}"

# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery  transfer1 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T', now(), 'c', NULL" xfer_stat
SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery  transfer2 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T', now(), 'i', NULL" xfer_stat





# --------------------------------------------
# TLS Standards
# --------------------------------------------
 
<IfModule mod_tls.c>
TLSEngine off
TLSTimeoutHandshake 60
TLSRequired off
TLSVerifyClient off
 
TLSOptions NoCertRequest
TLSLog /var/log/proftpd/tls.log
 
# TLSCACertificateFile /etc/ssl/certs/CA.cert # CA-Cert optional
</IfModule>
 
 
# --------------------------------------------
# Post-Login, Timeouts
# --------------------------------------------
 
PassivePorts 49152 65534

 
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowOverride off
 
TimeoutIdle 600 # Inaktivitaet
TimeoutNoTransfer 3600 # keine Datenuebertragung (Listing, File, ...)
TimeoutStalled 300 # haengende Datenuebertragung
TimeoutSession 7200 # Gesamtdauer einer Session
 
 
# --------------------------------------------
# Session
# --------------------------------------------
 
DefaultRoot ~
 
DenyFilter \*.*/
ListOptions "-An +R" strict
UseGlobbing off
 
ShowSymlinks on
TimesGMT on
 
 
# --------------------------------------------
# Up- & Download
# --------------------------------------------
 
AllowOverwrite on
AllowRetrieveRestart on
HiddenStores on
DeleteAbortedStores on
AllowStoreRestart off # widerspricht sonst "DeleteAbortedStores"
 
 
# --------------------------------------------
# Datei & Verzeichnis
# --------------------------------------------
 
Umask 0755
 

 
### hierher alle <Directory>-Bloecke
 
 

# --------------------------------------------
# Logging
# --------------------------------------------
 
WtmpLog off
TransferLog /var/log/proftpd/xferlog


# Record all logins
ExtendedLog /var/log/proftpd/auth.log AUTH auth
 
# Logging file/dir access
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
 
# Paranoia logging level....
ExtendedLog /var/log/proftpd/paranoid.log ALL default
 
# fuer Debug: alle modMySQL Kommentare (Datenmenge immens!)
SQLLogFile /var/log/proftpd/sql.log
</Global>
 
 
# --------------------------------------------
# Standard-Server
# --------------------------------------------
 
DefaultAddress xxx
ServerName xxx
ServerAdmin xxx@xxx.xxx
# MasqueradeAddress meinserver.dyndns.org
 
<IfModule mod_tls.c>
TLSEngine on
TLSRSACertificateFile /etc/ssl/certs/meinserver.tld.cert
TLSRSACertificateKeyFile /etc/ssl/certs/meinserver.tld.key
</IfModule>
 
 
# --------------------------------------------
# Virtuelle Hosts...
# --------------------------------------------
 
<VirtualHost 192.168.1.101>
ServerName server2.meinserver.tld
ServerAdmin hostmaster@meinserver.tld
 
<IfModule mod_tls.c>
TLSEngine on
TLSRSACertificateFile /etc/ssl/certs/server2.meinserver.tld.cert
TLSRSACertificateKeyFile /etc/ssl/certs/server2.meinserver.tld.key
</IfModule>
</VirtualHost>




# User quotas
# ===========
QuotaEngine on
QuotaDirectoryTally on
QuotaDisplayUnits Mb
QuotaShowQuotas on

SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM ftpquotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM ftpquotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" ftpquotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" ftpquotatallies

QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally






3  ProFTPD / ProFTPD - Deutsch / Standart dateirechte am: 10. Oktober 2006, 15:16:49
Hallo zusammen ich hab n poblem un zwar:


wen ich eine neue datei per ftp hochlade hat sich nacher keine rechte also chmod zeigt 000 an

wie kann ich also die standartrechte vergeben in meiner config steht bereits

Umask 0755

Zwinkernd danke schon mal im voraus
Seiten: [1]
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.066 Sekunden mit 16 Zugriffen.