Labeling conflict?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When a file gets created, it gets a label based on some mysterious
distro policy ("antivirus_db_t"). I define a specific custom policy that
should give the file a different label (say, "bin_t").

What ends up happening is that no matter how I *create* the file, it
always gets "antivirus_db_t" as its label. However, if I run restorecon
on the file, the label changes to "bin_t".

How can this symptom be explained?


Marko
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux