<br><br><div class="gmail_quote">2010/2/16 Dominick Grift <span dir="ltr">&lt;<a href="mailto:domg472@gmail.com">domg472@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 02/16/2010 09:21 AM, ESGLinux wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I´m a bit newbie with SELinux (nothing more than watch to sealert -b and do<br>
&gt; what it says...) and now I want to learn more about it because I have a<br>
&gt; problem:<br>
&gt;<br>
&gt; I need to set the permissions to files that are going to be created, but<br>
&gt; this permissions depends on the name of the file. Is it possible?<br>
<br>
</div>I do not believe this is possible.<br></blockquote><div><br></div><div>I thought it is the same as you can see in the file /etc/selinux/targeted/contexts/files/file_contexts</div><div>for example</div><div>/mnt(/[^/]*)    -l      system_u:object_r:mnt_t:s0</div>
<div><br></div><div>with a pattern you assing a context. So I thought you can use this to assing perm or modify the access to the files.</div><div><br></div><div>Am I wrong?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">&gt;<br>
&gt; by the way, any doc about SELinux for begginers? the oficial doc scares ;-)<br>
<br>
</div><a href="http://docs.fedoraproject.org/selinux-user-guide/f12/en-US/" target="_blank">http://docs.fedoraproject.org/selinux-user-guide/f12/en-US/</a></blockquote><div><br></div><div>Thanks, I´m going to study this doc, </div>
<div><br></div><div>ESG </div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; ESG<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; selinux mailing list<br>
&gt; <a href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/selinux" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/selinux</a><br>
<br>
<br>
<br>--<br>
selinux mailing list<br>
<a href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/selinux" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/selinux</a><br></blockquote></div><br>