<div dir="ltr">On Fri, Sep 20, 2013 at 11:06 AM, Gary Buhrmaster <span dir="ltr">&lt;<a href="mailto:gary.buhrmaster@gmail.com" target="_blank">gary.buhrmaster@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Fri, Sep 20, 2013 at 3:52 PM, Richard Shaw &lt;<a href="mailto:hobbes1069@gmail.com">hobbes1069@gmail.com</a>&gt; wrote:<br>

...<br>
</div><div class="im">&gt; Looking at that now...<br>
&gt;<br>
&gt;  # ll image_cache/<br>
&gt; total 0<br>
<br>
</div>The question is not whether any directly currently has<br>
content, but if the mythweb application *could* write to them.<br></blockquote><div><br></div><div>True, but this is a fairly well used installation, so it&#39;s worth evaluating if the directory can be removed.</div><div>
<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If one trusts the mythweb installation instructions (and<br>

one likely should), the recommendation is to install in<br>
/var/www/html/, and then change ownership, writability<br>
to the .../data/ directory which would &quot;address&quot; the<br>
ownership and write-ability issues.<br></blockquote><div><br></div><div>Per the guidelines[1] /usr/share is preferred, though presumably that&#39;s intended for static data... It also mentions not using /var/www because 1) user may already have data there, and 2) it&#39;s not part of FHS anymore.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If you are going to review the php code to determine<br>

what writes where (or where it could write), or change<br>
the spec file to create the files in /var/www/html rather<br>
than in /usr/share/mythweb I will back off now (that is<br>
the work I was going to review as a first step).</blockquote><div><br></div><div>Since the recommendation for mythweb is to run with SELinux off, I&#39;m starting to like the idea of symbolic links to somewhere in /var or /var/cache for writable stuff.</div>
<div><br></div><div>Richard </div><div><br></div><div>[1] <a href="https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Web_Applications">https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Web_Applications</a></div>
</div></div></div>