[CentOS] C7 apache file access
John R Pierce
pierce at hogranch.com
Wed Dec 23 20:26:47 UTC 2015
On 12/23/2015 12:05 PM, Robert Moskowitz wrote:
>> If SELinux is working, then do
>>
>> setsebool -P httpd_enable_homedirs on
>
> Did not help.
>
> in messages I see:
>
> Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received
> policyload notice (seqno=3)
> Dec 23 14:54:04 medon dbus[444]: avc: received policyload notice
> (seqno=3)
> Dec 23 14:54:04 medon dbus-daemon: dbus[444]: [system] Reloaded
> configuration
> Dec 23 14:54:04 medon dbus[444]: [system] Reloaded configuration
> Dec 23 14:54:11 medon setsebool: The httpd_enable_homedirs policy
> boolean was changed to on by root
>
> BUt still get the access error:
>
> [Wed Dec 23 14:55:26.579402 2015] [negotiation:error] [pid 3212]
> (13)Permission denied: [client 192.168.160.20:38836] AH00686: cannot
> read directory for multi: /home/rgm/public_html/biby/
>
> i should say that this system is build with the Centos7-arm build that
> we are testing out. So this could be a problem with the selinux build
> for armv7. But I thought this was a general C7/apache issue...
did you verify it /is/ selinux by running with `setenforce permissive` ?
--
john r pierce, recycling bits in santa cruz
More information about the CentOS
mailing list