FTP error 500 OOPS: cannot change directory
October 1st, 2007 by Anthony Curreri
After installing vsFTPd on RHEL, I got the following error while trying to log in:
500 OOPS: cannot change directory:/home/curreri
The problem is that SELinux is standing in the way. I told it in English: “I know FTP isn’t secure SELinux, but I promise I’ll stay behind the hardware firewall.” Unfortunately SELinux doesn’t understand English. Here’s how you say that in Linux command line speak:
sudo /usr/sbin/setsebool -P ftp_home_dir 1
That’s it, now log in!
If you found this helpful, help me by checking out the ads on the right. Thank you!
Link to this post! Copy and paste this code into your blog or website:
<a href="http://www.mailbeyond.com/ftp-error-500-oops-cannot-change-directory"> FTP error 500 OOPS: cannot change directory </a>
One Response to “FTP error 500 OOPS: cannot change directory”

Thank you a lot!!!! I wasted much time while googling but finally I found this simple solution!!