Re: C7 apache file access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 12/23/2015 02:36 PM, Paul Heinlein wrote:
On Wed, 23 Dec 2015, Robert Moskowitz wrote:

Pulling out what little hair I have here, but stumbled onto a possible problem.

I have a server running C6 apache that is set up with personal directories and no problem showing the files.

You can see it at: medon.htt-consult.com/~rgm/pogo

So I have a C7 apache server I am building. Files I create on the new server are listing fine. Files I have copied (with cp -avr ...) get permission error e.g.:

[Wed Dec 23 12:32:49.359323 2015] [negotiation:error] [pid 3208] (13)Permission denied: [client 192.168.160.20:38708] AH00686: cannot read directory for multi: /home/rgm/public_html/biby/

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...


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux