Making content readable by httpd

Daniel J Walsh dwalsh at redhat.com
Fri Nov 12 12:37:53 UTC 2004


Ian Pilcher wrote:

> I am trying to get Netjuke (http://www.netjuke.org/) working on FC3 with
> SELinux enabled.  Netjuke is a PHP-based "jukebox" application, and I
> use it to stream Ogg Vorbis music files around my house.  The music
> files live on several separate reiserfs filesystems, which have no
> security contexts at all.  (These filesystems are mounted under /mnt and
> symlinked into the /var/www/html tree, if it makes any difference.)
>
> I've read through the FC3 SELinux FAQ and the man pages for setfiles,
> fixfiles, and restorecon, and I've even tried playing with the options
> that look nondestructive, but none the tools find anything wrong with
> the current setup.  What do I need to do to make these files readable
> by the httpd server?
>
> Thanks!
>
Look for AVC Messages in the /var/log/messages file.

You can run audit2allow -l -i /var/log/messages

They you can customize policy to allow these.




More information about the fedora-selinux-list mailing list