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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content