下面我們來看vsftpd的refusing to run with writable root inside chroot錯誤解決辦法吧,方法非常的簡單只要對文章簡單的配置即可解決.
安裝前幾天的文章安裝了vsftpd的朋友如果在安裝之后登陸出現了refusing to run with writable root inside chroot錯誤的話,這是由于下面的更新造成的:
- - Add stronger checks for the configuration error of running with a writeable
- root directory inside a chroot(). This may bite people who carelessly turned //Vevb.com
- on chroot_local_user but such is life.
問題的是因為用戶的根目錄可寫,并且使用了chroot限制,而這在最近的更新里是不被允許的,要修復這個錯誤,可以用命令chmod a-w /home/user去除用戶根目錄的寫權限,注意把目錄替換成你自己的.
或者你可以在vsftpd的配置文件中增加下列兩項中的一項.
對于標準的vsftpd build (vsftpd):allow_writeable_chroot=YES
對于擴展的vsftpd build (vsftpd-ext):allow_writable_chroot=YES
新聞熱點
疑難解答