Proftpd + Chmod
Добавлено: 2008-10-30 23:26:49
Proftpd настроен по статье Лисса... спасибо за это.
Настраивал его не я, до поры до времени работал сервак без проблем. Но вот сегодня клиент написал, что не может на старых папках изменять chmod да и вообще редактировать внутри них файлы и другие папки.
Старые папки были созданы другим "пользователем", который когда-то был удален из БД.
proftpd.conf :
в логах не ругается.
Есть какие-то варианты решений данной проблемы...?
Спасибо заранее.
С ув. Владимир
Настраивал его не я, до поры до времени работал сервак без проблем. Но вот сегодня клиент написал, что не может на старых папках изменять chmod да и вообще редактировать внутри них файлы и другие папки.
Старые папки были созданы другим "пользователем", который когда-то был удален из БД.
Код: Выделить всё
FreeBSD conextra.biz 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Wed Oct 17 18:07:18 EEST 2007 Код: Выделить всё
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#
# 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 "DIRLIDINGA 69"
ServerType standalone
DefaultServer on
ScoreboardFile /var/run/proftpd.scoreboard
# 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 nobody
SQLBackend mysql
SQLAuthTypes Plaintext
SQLAuthenticate users
SQLConnectInfo prof@localhost:3306 prof prof_amon
SQLUserInfo `prof_tab` `username` `password` `uid` `gid` `homedir` `shell`
RequireValidShell off
RootLogin off
SQLLogFile /var/log/proftpd.log
UseReverseDNS off
IdentLookups off
TimeoutStalled 0
TimeoutNoTransfer 0
AllowRetrieveRestart on
AllowStoreRestart on
DefaultRoot ~
<Directory ~>
AllowOverwrite on
<Limit Write>
AllowAll
</Limit>
<Limit READ>
AllowAll
</Limit>
<Limit SITE_CHMOD SITE_CHGRP>
AllowAll
</Limit>
</Directory>
Есть какие-то варианты решений данной проблемы...?
Спасибо заранее.
С ув. Владимир