LINUX.ORG.RU
ФорумAdmin

Проблема с FTP


0

0

Здравствуйте. Есть проблема с FTP сервером, на предприятии стоит ProFTPD сервер на Linux. Так вот проблема с дозакачкой, причем дозакачать TOTAL Commander'ом можно, а вот другими прогами никак даже FAR. Причем выдается ошибка 550 Overwrite permission denied, хотя AllowStoreRestart on и AllowOverwrite on

Заранее спасибо за ответ


Ответ на: комментарий от sova

вот мой конфиг, но там вроде все в порядке

ServerName "ProFTPD" #ServerType standalone ServerType inetd DefaultServer on

# # Port 21 is the standard FTP port. Port 21 #DefaultAddress ххххххххх # 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.log TransferLog /var/log/xferlog AllowStoreRestart on

# Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite on </Directory> DisplayLogin welcome.msg DisplayFirstChdir .message

# A basic anonymous FTP server configuration. # To enable this, remove the user ftp from /etc/ftpusers.

IdentLookups off

#UseReversDNS off

<Anonymous ~ftp/ftpd> <Limit LOGIN> Order allow, deny Allow from 192.168.0. Deny from all </Limit>

User ftp Group nogroup # 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 15 "Sorry, max %m users"

# We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory.

# 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 pub/*> <Limit WRITE STOR MKD READ DELE RMD> AllowAll </Limit>

# <Limit STOR> # AllowAll # </Limit> </Directory>

# <Directory store/nedv/*> #<Limit STOR MKD LIST READ DELE RMD> # Allow from 192.168.0. # DenyAll # </Limit> # </Directory>

</Anonymous>

<Anonymous ~nedv> User nedv Group users # <Limit CWD DIRS> # DenyAll # </Limit> <Limit STOR WRITE MKD LIST READ DELE RMD> AllowUser nedv DenyAll </Limit> </Anonymous>

<Anonymous ~polovinka> User polovinka Group users # <Limit CWD DIRS> # DenyAll # </Limit> <Limit STOR WRITE MKD LIST READ DELE RMD> AllowUser polovinka DenyAll </Limit> </Anonymous>

Nick64
() автор топика
Ответ на: комментарий от Nick64

Простите за пред абра-кадабру, торопился вот нормальный конф

ServerName "ProFTPD" #ServerType standalone ServerType inetd DefaultServer on

# # Port 21 is the standard FTP port. Port 21 #DefaultAddress # 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.log TransferLog /var/log/xferlog AllowStoreRestart on

# Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite on </Directory> DisplayLogin welcome.msg DisplayFirstChdir .message

# A basic anonymous FTP server configuration. # To enable this, remove the user ftp from /etc/ftpusers.

IdentLookups off

#UseReversDNS off

<Anonymous ~ftp/ftpd> <Limit LOGIN> Order allow, deny Allow from 192.168.0. Deny from all </Limit>

User ftp Group nogroup # 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 15 "Sorry, max %m users"

# We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory.

# 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 pub/*> <Limit WRITE STOR MKD READ DELE RMD> AllowAll </Limit>

# <Limit STOR> # AllowAll # </Limit> </Directory>

# <Directory store/nedv/*> #<Limit STOR MKD LIST READ DELE RMD> # Allow from 192.168.0. # DenyAll # </Limit> # </Directory>

</Anonymous>

<Anonymous ~nedv> User nedv Group users # <Limit CWD DIRS> # DenyAll # </Limit> <Limit STOR WRITE MKD LIST READ DELE RMD> AllowUser nedv DenyAll </Limit> </Anonymous>

<Anonymous ~polovinka> User polovinka Group users # <Limit CWD DIRS> # DenyAll # </Limit> <Limit STOR WRITE MKD LIST READ DELE RMD> AllowUser polovinka DenyAll </Limit> </Anonymous>

Nick64
() автор топика

Перед отправкой смотрим на интерфейс и видим выбор "User line breaks" и "Preformatted text"

Deleted
()
Ответ на: комментарий от Nick64

плохо читабельно !

Но есть подозрение что
при попадании сюда <Anonymous ~ftp/ftpd> будет
при попадании сюда <Anonymous ~nedv> нет
при попадании сюда <Anonymous ~polovinka> нет

вообще странные ананимусы =)
Запрет на STOR всем кроме логина nedv и polovinka.

sova ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.