<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 5, 2017 at 4:49 AM, Robert Moskowitz <span dir="ltr"><<a href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="m_7902498201379091502moz-cite-prefix">On 02/03/2017 11:07 AM, Gordan Bobic
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Have you done:<br>
# setsebool -P httpd_enable_homedirs true<br>
?<br>
</div>
</blockquote>
<br>
Yes. That is in my notes to do.<br>
<br>
<blockquote type="cite">
<div dir="ltr">You may also need to do the following on each
user's http exposed folder:<br>
# chcon -R -t httpd_sys_content_t ~<username>/public_html<i><br>
</i></div>
</blockquote>
<br>
No. I did:<br>
<br>
restorecon -Rv /home<br></div></blockquote><div><br></div><div>There is a fundamental difference between the two. You need to label the httpd exported subtree specifically with the httpd_sys_content_t label. What restorecon will do is restore the default label which is user_home_dir_t.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
I am getting the same behavior with Fedora 25 Server image, so this
is either something really wrong with SELinux on the Cubie, or
something has changed....<br></div></blockquote><div><br></div><div>I think that rules out a software problem.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
I just tried this and it now WORKS!!!! Thanks Gordon. This is NOT
in anything I have read on userdir and Apache 2.4.<br></div></blockquote><div><br><br></div><div>Glad I could help.<br><br><br></div></div><br></div></div>