FTP server is installed, configured chroot to jail and getting error 500 OOPS: vsftpd: refusing to run with writable root inside chroot().
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.
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.