Re: Where's the class defined in file_contexts*

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

 



It is defined through the "middle" column. For instance, -- is a regular file, -l a symlink, etc.

These can de defined with "semanage fcontext" as well.

Wkr,
  Sven

On Jul 1, 2014 10:57 AM, "dE" <de.techno@xxxxxxxxx> wrote:
The default security context of a object also depends on it's class.

I was looking at etc/selinux/<SELINUXTYPE>/contexts/files/file_contexts*, but I couldn't see any definition of a class.

Also semanage fcontext doesn't have an option define a class. Entries are based only on files and directories.

If you get red text in this email please notify.
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux