Home Troubleshooting 500 OOPS: vsftpd: refusing to run with writable root inside chroot()

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

FTP server is installed, configured chroot to jail and getting error 500 OOPS: vsftpd: refusing to run with writable root inside chroot().

Error 500 oops chroot ()
Error 500 oops chroot ()

Solution :

1.Open FTP server configuration file, on CentOS 7 path is:

[arun@localhost ~]$ vi  /etc/vsftpd/vsftpd.conf

2. Find the below-mentioned line and uncomment it. If not found then add it.

allow_writeable_chroot=YES 

3. Restart the vsftpd service

[arun@localhost ~]$ systemctl restart vsftpd

Now, you have successfully fixed the error 500 OOPS: vsftpd: refusing to run with writable root inside chroot().



Conclusion: You have successfully learned how to fix this error. In case of any confusion or feedback, kindly write in below comment box.

LEAVE A REPLY

Please enter your comment!
Please enter your name here