Answer the question
In order to leave comments, you need to log in
Why does 500 OOPS appear: vsftpd: refusing to run with writable root inside chroot()?
Good afternoon.
Could you please explain what is the essence of this error?
I set up vsftpd on ubuntu server 14.04 according to this guide from help.ubuntu.ru
My vsftpd.conf
As stated in help.ubuntu.ru I wanted to make, for more security, that the user could not leave his home directory and I uncommented chroot_local_user= YES , but as soon as I uncommented it and tried to access FTP through FileZilla, I got an error
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Ошибка: Critical error: Невозможно подключиться к серверу
If you see an error when trying to connect:Ответ: 500 OOPS: vsftpd: refusing to run with writable root inside chroot() Ошибка: Critical error: Невозможно подключиться к серверу
then you need to change the permissions on the local user's home directorysudo chmod a-w /home/user/
drwxrwxr-x 3 backupserver backupserver 4096 окт. 8 16:25 backupserver
dr-xr-xr-x 3 backupserver backupserver 4096 окт. 8 16:25 backupserver
Ответ: 553 Could not create file.
Ошибка: Критическая ошибка при передаче файлов
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question