So I’ve just discovered SELinux and then discovered my CentOS distro is running it. I like the hack-reduction properties of SELinux, but I’ve also noticed it’s cramping my FTP uploading style. Specifically, I upload a lot through FTP into the plugins and themese directories. SELinux says I’d need to declare those directories public, but I don’t really want to do that.
So, what’s the best way to FTP stuff into WordPress (or a whole copy of WordPress for that matter), keep SELinux enabled, and make it all work?