: 계정은 생성이 되고 접속도 잘 됩니다.
: 근데 이상하게도 업로드가 안됩니다.
: 아무리 proftpd.conf 파일을 봐도 잘못된 곳은 없습니다.
: 아래가 그것인데...
:
: # 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 "ProFTPD Default Installation"
: ServerType standalone
: 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 that the server normally runs at.
: User nobody
: Group nobody
:
: # Normally, we want files to be overwriteable.
: <Directory /*>
: AllowOverwrite on
: </Directory>
:
: <Global>
: RequireValidShell off
: DefaultRoot ~
: </Global>
:
: # A basic anonymous configuration, no upload directories.
: <Anonymous ~ftp>
: User ftp
: Group ftp
: # 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 30
:
: # RequireValidShell off
:
: # 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
: <Limit WRITE>
: DenyAll
: </Limit>
:
: </Anonymous>
:
: 그리구 에러 문구는 이것입니다.
: 업로드시...
:
: ns:~/public_html/monodesign/mono/psd# ftp localhost
: Connected to localhost.
: 220 ProFTPD 1.2.5rc1 Server (ProFTPD Default Installation) [ns.xxxx.com]
: Name (localhost:new): mittz
: 331 Password required for mittz.
: Password:
: 230 User mittz logged in.
: ftp> put ~mittz/proftpd.conf .
: 200 PORT command successful.
: 550 .: Overwrite permission denied
: ftp>
:
: 환장 하겠습니다. ㅜ.ㅜ
: 며칠짼지 모르겠습니다. 벌써 2주짼거 같습니다.
: 전에 sendmail이랑 도멘서버두 만졌었는데
: ftp가 젤로 어려운것 같습니다.
: 에혀...
: 그럼 될때까지 삽질을 계속 하겠습니다.
: 돠주세요... ㅜ.ㅜ
Anonymous 블럭에 업로드 디렉토리를 하나만들고
유저 ftp가 쓸수있도록 퍼미션이 설정되어있어야합니다...
가령 아래와 같이,,,
# pwd
/home/ftp
# ls -l
drwxr-xr-x 7 root wheel 4096 12/30 21:56 pub/
drwxr-x--- 7 ftp ftp 4096 2/20 23:38 uploads/
행여나 도움이 될까싶어 제가 설정한 예제를 아래에 링크를 겁니다..
http://155.230.157.93/~bh/new_bh/sysinfo/proftpd.conf 부족한것은
http://proftpd.oops.org 의 레퍼런스를 참고하시길 권유드립니다...
건투를 빕니다...
바다사랑 드림