Bug 199084
Summary: | selinux and smba will get access denied messages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frank Büttner <bugzilla> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | roth |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-28 20:04:17 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
Frank Büttner
2006-07-17 07:35:45 UTC
The relevant statements in samba.te in serefpolicy 2.2.47 are allow nmbd_t samba_log_t:dir ra_dir_perms; allow nmbd_t samba_log_t:file { create ra_file_perms }; Changing the 'ra_dir_perms' to 'rw_dir_perms' doesn't fix the problem; this is what smbd_t is set to, and it's also being rejected by selinux. I suspect this is related to the new 'cores' subdirectory of /var/log/samba. The obvious fix here would be to change the statements allow smbd_t samba_log_t:dir rw_dir_perms; allow nmbd_t samba_log_t:dir ra_dir_perms; to allow smbd_t samba_log_t:dir create_dir_perms; allow nmbd_t samba_log_t:dir create_dir_perms; Fixed in selinux-policy-2.3.6-3.fc5 Closing bugs |