FTP login fails as vsftpd is unable to access the users home directory due to selinux

Solution Verified - Updated -

Issue

FTP login fails  with the following error message when chroot vsftpd is used:

Name (testserver:username): username
331 Please specify the password.
Password:
500 OOPS: chroot
Login failed.
Error code 0: Permission denied

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • vsftpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.