Make SELinux Allow Access To Home Directories

I'm trying to setup a secured Asterisk server and enabled SELinux to set everything up properly. My server uses Polycom phones that will be centrally provisioned from the server through FTP. Well, I was having a hell of a time figuring out why I got this error message when trying to login:


500 OOPS: cannot change directory:/home/polycom
Login failed.

So I looked at /var/log/audit/audit.log and realized that SELinux was blocking me. The easy fix was to execute the following as root:


setsebool -P ftp_home_dir=1