Bug 703798
| Summary: | SELinux is preventing vsftpd (ftpd_t) "dac_override" to <Unknown> (ftpd_t) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Aleš Mareček <amarecek> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.7 | CC: | devel, dwalsh |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-11 10:49:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Aleš Mareček
2011-05-11 09:47:27 UTC
fireftp log: 500 OOPS: chroot 500 OOPS: child died Ales, you need to turn on the ftp_home_dir boolean. setsebool -P ftp_home_dir 1 The chroot hold folder for the user needs to be accessible by root. (With SELinux enabled, vsftpd has the capability to override permissions removed, so you need to maintain access to the folder for both the user you will be running as, and the root user so that chroot can take place.) I fixed this by assigning root as the group owner of the folder in question and assigning read permissions to group (root). |