Skip to main content

vsftp: 500 OOPS: chroot

Problem

vsftpd in user chroot mode. When logging in, you get:

500 OOPS: chroot

Solution

You have selinux enabled. In RedHat Enterprise 7.3, the selinux boolean ftp_home_dir was removed. So your choices are either:

  • disable selinux; or
  • grant ftpd full access to the system with # setsebool -P ftpd_full_access=1

Note that either solution opens you up to various kinds of hilarity.