關於vsftpd的refusing to run with writable root inside chroot()問題

熊抱發表於2018-08-22

今天在上班幫測試的同事搭建ftp伺服器時出現的一個問題

服務搭建完成後連線時報這個錯誤:

  refusing to run with writable root inside chroot()

查了資料後找到了原因,在限定了使用者不能跳出其主目錄之後,使用該使用者登入FTP時往往會遇到這個錯誤

好像是因為更新的原因導致的

可以使用chmod a-w  PATH(你自己的登入ftp的使用者家目錄,我的是/mnt/ftp,自己修改的)

相關文章