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 at the bottom of the page. Thank you!
Bookmark with: | del.icio.us | Digg it | Netscape | Newsvine | Yahoo MyWeb |
Leave a Reply
You must be logged in to post a comment.
