Red Hat Bugzilla – Bug 968935
Missing SELinux config info for FTP anonymous uploads
Last modified: 2015-04-21 07:07:00 EDT
Section Number and Name:
18.104.22.168.1. Anonymous Upload
Describe the issue:
The docs don't describe related SELinux configuration and are incomplete. On a default install SELinux is in Enforcing mode and the described upload configuration will not work.
I found these commands to do the job:
setsebool -P allow_ftpd_anon_write=1
semanage fcontext -a -t public_content_rw_t '/var/ftp/pub/upload(/.*)'
chcon -t public_content_rw_t /var/ftp/pub/upload
I've edited the "Anonymous Upload" procedure with the requested information. The changes have been reviewed be SME.