【求助】PROFTPD設定問題

顯示結果從第 1 筆 到 4 筆,共計 4 筆
  1. #1
    會員 jecyhuang 的大頭照
    註冊日期
    2001-05-29
    討論區文章
    11

    【求助】PROFTPD設定問題

    小弟安裝FREEBSD+PROFTP作為FTP SERVER
    遇到了下列問題無法解決,

    因小弟另外準備了一個資料夾作為存放檔案之用,但是使用帳號密碼登入後
    ,切換至該目錄可以讀取檔案卻無法上傳檔案.此問題應該在設定檔部分作設定,或在目錄權限上作設定.

    也有嘗試過更改umask去變更權限,但是還是無法達到上傳的目的.
    所以請各位先進指導,幫小弟解惑.

    以下為PROFTPD.CONF的設定
    其中存放資料的目錄為 /data ,其目錄權限為全開 777


    ServerName "ProFTPD Test 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 under which the server will run.
    User nobody
    Group nogroup

    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    DefaultRoot /data/

    # Normally, we want files to be overwriteable.
    <Directory /*>
    AllowOverwrite on
    </Directory>

    # A basic anonymous configuration, no upload directories. If you do not
    # want anonymous users, simply delete this entire <Anonymous> section.
    #########################################################################
    # #
    # Uncomment lines with only one # to allow basic anonymous access #
    # #
    #########################################################################

    #<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

    ### 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>



  2. #2
    ??????????? PHINEAR 的大頭照
    註冊日期
    2001-06-16
    所在地區
    Hinet
    討論區文章
    2,029
    應該是/data資料夾的權限問題
    設法應該是
    chmod 777 /data

  3. #3
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    你有設定DefaultRoot為DATA

    用任何的帳號登入都會直接進入到DATA這個目錄
    且不能離開DATA這個目錄到任何其他的目錄下

    只能在DATA這個目錄以下活動

    我覺得應該是目錄權限的問題,通常把目錄chmod成777就可以解決
    不能上傳的問題

    目錄權限的問題和Login的user所有的權限檢查一下吧.
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  4. #4
    會員
    註冊日期
    2002-08-24
    討論區文章
    7
    記錄檔

    /var/log/xferlog

類似的主題

  1. 【求助】VM設定問題一問
    作者:ie0813 所在討論版:-- HELP ME 電 腦 軟 硬 體 急 救 版
    回覆: 2
    最後發表: 2004-08-27, 11:32 PM
  2. 【求助】Squid設定問題
    作者:b1206 所在討論版:-- 網 路 技 術 版
    回覆: 3
    最後發表: 2004-08-20, 01:04 PM
  3. 【求助】Vigor2104p設定問題
    作者:wimiu 所在討論版:-- 網 路 硬 體 版
    回覆: 3
    最後發表: 2003-11-27, 08:24 AM
  4. 【求助】DI-704設定問題~~
    作者:sfredr 所在討論版:-- 網 路 硬 體 版
    回覆: 9
    最後發表: 2002-10-04, 11:57 PM
  5. 【求助】DHCP設定問題
    作者:DINK 所在討論版:-- 網 路 技 術 版
    回覆: 11
    最後發表: 2002-02-21, 10:42 AM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •