problem solved: fedora 5, vsftpd, cannot change directory

fireartist on 2006-06-28T15:27:20

"500 oops: cannot change directory"

Trying to ftp in to a Fedora Core 5 box using a local username. Password is accepted, but the connection is then closed with this error message.

This is because of SELinux's policies. To fix it, issue (as root):

setsebool -P ftp_home_dir=1

The -P flag ensures the value is saved after reboot.

keywords: Fedora Core 5 linux, vsftpd, SELinux, connection failure