>> Delete No. 50685 article
No. [질문] ftp 설정중 로긴해서 파일 업로드하기

등록 2002-06-11 13:15:00 By localhost     조회 2
이름 이성희    

		참고 문서 : http://www.linux.co.kr/theme/pageview.html?ca=200102&pageid=30&aaa=99&casub=proftpd&st=  설치 형식
 : 소스컴파일 버전 : proftpd-1.2.5
 컴파일전 rpm 으로 설치되어 있는것을 지움!
 위의 문서를 참고해서 ftp를 설정을 하였습니다.
우선 안되는것들이 많지만 차근차근 하나만 물어볼라구 합니다!
 우선 ftp에 로긴해서 들어 가면 그 계정에 있는 파일들이 보입니다.
그리고 그 디렉토리의 파일들을 카피해오기도 합니다.
 그런데 파일을 업로드 하기 위해선 퍼미션 에러가 납니다.
 업로드를 하기 위해서
   < Limit WRITE >
    AllowAll
  < /Limit >
 와 같이 해주었는데도 퍼미션 에러가 나는군요..
잘 몰라 전체 설정 파일을 올려 봅니다.
 ################ 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                      "klsg org's ftp server"
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>
 # 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                    10
  MaxClientsPerHost             1
   # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  /home/ftp/welcome.msg
  DisplayFirstChdir             .message
   # RequireValidShell 지시자를 off 로 해야 anonymous 사용자가 접속 할수 있습니다.
  RequireValidShell     off
   # 네트워크의 장애로 데이터의 전송이 지연되는 경ㅇ, ftp 서버와 클라이언트 사이의 접
속을 유지할 수 있는 체대연결시간   # 을 초 단위로 결정합니다.
  # TimeoutStalled      300
   # Limit WRITE everywhere in the anonymous chroot
  <Limit LOGIN>
    AllowAll
  </Limit>
   <Limit WRITE>
    AllowAll
  </Limit>
 </Anonymous>
 ################ proftpd.conf ####################
 설정이 잘못되어 있는곳이 있다면 지정을 해주셨으면 합니다.
또한 업로드를 위해선 어떠한 설정이 필요한지.. 제가 한 설정은 맞는건지
궁금하군요..
 고수님들의 답변 기다리겠습니다
 --
삽-_-질 끝에 행^.^복  :-)
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved