Вот такая проблемма:
При попытке загрузить файл на мой ftp сервер - proftpd (лог gftp)
220 ProFTPD 1.2.10 Server (Debian_3.1) [192.168.110.35]
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
230-Welcome, archive user anonymous@192.168.110.35 !
230-
230-The local time is: Thu Nov 10 22:15:52 2005
230-
230-This is an experimental FTP server. If have any unusual problems,
230-please report them via e-mail to <root@localhost.localdomain>.
230-
230 Anonymous access granted, restrictions apply.
SYST
215 UNIX Type: L8
TYPE I
200 Type set to I
PWD
257 "/" is current directory.
Loading directory listing / from server (LC_TIME=ru_RU.KOI8-R)
PASV
227 Entering Passive Mode (192,168,110,35,128,243).
LIST -aL
150 Opening ASCII mode data connection for file list
226 Transfer complete.
CWD /upload
250 CWD command successful
PWD
257 "/upload" is current directory.
Loading directory listing /upload from server (LC_TIME=ru_RU.KOI8-R)
PASV
227 Entering Passive Mode (192,168,110,35,128,245).
LIST -aL
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Loading directory listing /upload from cache (LC_TIME=ru_RU.KOI8-R)
PASV
227 Entering Passive Mode (192,168,110,35,128,247).
STOR /upload/vyqchat-0.2.8.tar.gz
550 /upload/vyqchat-0.2.8.tar.gz: Permission denied
Loading directory listing /upload from server (LC_TIME=ru_RU.KOI8-R)
PASV
227 Entering Passive Mode (192,168,110,35,128,249).
LIST -aL
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Мой proftpd.conf
<Anonymous ~ftp>
User ftp
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory upload>
<Limit WRITE>
AllowALL
</Limit>
</Directory>
# Uncomment this if you're brave.
# <Directory incoming>
# # Umask 022 is a good standard umask to prevent new files and dirs
# # (second parm) from being group and world writable.
# Umask 022 022
# <Limit READ WRITE>
# DenyAll
# </Limit>
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>
</Anonymous>
Невозможно загрузить файл на proftpd
Модераторы: SLEDopit, Модераторы разделов
-
- Бывший модератор
- Сообщения: 2521
- Статус: статус, статус, статус
Re: Невозможно загрузить файл на proftpd
1. сам юзер в папку может писать?
2. что будет, если убрать Directory * и оставить просто Limit WRITE?
2. что будет, если убрать Directory * и оставить просто Limit WRITE?