Wednesday, November 11, 2015

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

OOPS: vsftpd: refusing to run with writable root inside chroot()
Solved 1
chmod a-w /home/$USER
Solved 2 (Recommented)
  • Open vsftpd configuration file - /etc/vsftpd.conf
sudo vi /etc/vsftpd/vsftpd.conf
  • add config  append "chroot_local_chroot=YES"
  • For the standard vsFTPd build (vsftpd):
allow_writeable_chroot=YES
  • For the extended vsFTPd build (vsftpd-ext):
allow_writable_chroot=YES
  • in this case test on Ubuntu 14.04 use standard it get about this line
chroot_local_user=YES
allow_writ
eable_chroot=YES
  • Save and close the file. Restart vsftpd.
sudo service vsftpd restart
Ref
  • https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/

No comments:

Post a Comment

Popular Posts