Bug 968935 - Missing SELinux config info for FTP anonymous uploads
Missing SELinux config info for FTP anonymous uploads
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Security_Guide (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Bara Ancincova
Tomas Capek
: Documentation
Depends On:
  Show dependency treegraph
Reported: 2013-05-30 06:14 EDT by Alexander Todorov
Modified: 2015-04-21 07:07 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-04-21 07:07:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexander Todorov 2013-05-30 06:14:26 EDT
Document URL: 


Section Number and Name: 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
Comment 1 Bara Ancincova 2014-07-30 08:10:48 EDT
Fixed in:

I've edited the "Anonymous Upload" procedure with the requested information. The changes have been reviewed be SME.

Note You need to log in before you can comment on or make changes to this bug.