For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 7 > vsftp > 500 OOPS: chroot

500 OOPS: chroot

Created by dave. Last edited by dave, 6 years and 305 days ago. Viewed 3,064 times. #1
[edit] [rdf]
labels
attachments

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.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt