All of lore.kernel.org
 help / color / mirror / Atom feed
* Web Application access to files in /mnt/
@ 2014-01-10 21:08 Ken Smith
  2014-01-10 21:44 ` Dominick Grift
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Smith @ 2014-01-10 21:08 UTC (permalink / raw)
  To: selinux


Hi All, I could do with some simple guidance. I have a web application, 
written in Perl, that is part of MythTV. It can stream video from files 
mounted in /mnt.

The report from SElinux is

Source Context                system_u:system_r:httpd_sys_script_t:s0
Target Context                system_u:object_r:file_t:s0
Target Objects                /mnt/store0 [ dir ]
Source                        mythweb.pl

What would be the best approach. Should I relabel the files in /mnt or 
create a module like this

# grep mythweb.pl /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Thanks in advance

Ken



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-13 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 21:08 Web Application access to files in /mnt/ Ken Smith
2014-01-10 21:44 ` Dominick Grift
2014-01-12 17:04   ` luis
2014-01-12 17:05   ` Luis Ressel
2014-01-13 15:12     ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.