[問題] vsftp如何指定特定帳號的登入目錄

看板Linux作者 (WiSH)時間15年前 (2009/01/30 00:47), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
我希望能開個帳號web 然後ftp登入之後會直接進到/var/www/html 讓這個帳號可以在這個目錄上下傳檔案 我的OS Cent OS 5.2 ----------------------- 還有個問題 個人帳號的html一直開不起來 SELinux關了 瀏覽個人網站會出現錯誤 Forbidden You don't have permission to access /~帳號/ on this server. apache errorlog會這樣寫 [error] [client 192.168.2.101] (13)Permission denied: access to /~帳號/ denied apache的設定 <IfModule mod_userdir.c> UserDir public_html </IfModule> <Directory /home/*/public_html> Options Indexes FollowSymLinks AllowOverride None </Directory> 帳號中public_html 有改755了 不過我還是查不出問題在哪QQ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.68.240.38
文章代碼(AID): #19WTsCaf (Linux)
討論串 (同標題文章)
文章代碼(AID): #19WTsCaf (Linux)