[mythtv-users] mythweb issue: data directory is not writable by apache. Please check permissions.data directory is not writable by apache. Please check permissions.

Gabe Rubin gaberubin at gmail.com
Thu Sep 26 17:21:29 UTC 2013


On Thu, Sep 26, 2013 at 9:56 AM, Gary Buhrmaster
<gary.buhrmaster at gmail.com>wrote:

> On Thu, Sep 26, 2013 at 3:33 PM, Gabe Rubin <gaberubin at gmail.com> wrote:
> ....
> > I thought Fedora 17 was still supported for a bit.
>
> See:
> https://lists.fedoraproject.org/pipermail/announce/2013-July/003177.html
>

Thanks.  That would explain why it pulled .26 instead of .27.  I will
upgrade soon enough.  It looks like FedUp makes that an easier process.


>
> > I hate SELinux and did not have it running on the last system.
>
> SELinux can be a positive thing, especially for public access
> services such as Apache, since it can provide protection against
> incorrect programming practices (i.e. as you see, it protects
> against writing data that you should not be able to write).  And
> while there are potential issues with SELinux based on its
> pedigree, there is currently no evidence that it is anything other
> than a positive for most.
>
> > Will need to disable it here, but unsure how.
>
> Many possible solutions.  Easiest is probably in /etc/sysconfig/selinux
>

Will look into this.  Thanks.


>
> > In the meantime, this is the output of the command (doesn't this mean
> apache
> > can write to the data directory?  and is that the correct user?):
>
> No, the httpd_sys_content_t means read only content.
>
> > So is the best solution to just move everything into the /var/www/html/
> > directory?
>
> I have not checked, but /var/www/html is likely set for
> read-only (and/or no execute) SELinux policies (at least
> it makes sense that html is read-only, and not executable).
>
> Well, I believe the target (for RPMFusion) is to move the
> data/cache directories to /var/lib/mythweb (an architecturally
> appropriate location), create appropriate links, and then set
> the permissions there.
>
> Gary
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130926/a9e4ab7e/attachment.html>


More information about the mythtv-users mailing list