How does matchpathcon/setfiles work?

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

 



As we know, policies don't contain paths. So the working of matchpathcon/setfiles must be based on common sense.

It looks like it knows certain special folders and it's appropriate security context, for e.g. home folder contents should have files with user_home_t and suggests the correct SELinux user for the files/directories based on which user's home folder is it.

Other directories/files should have the same security context as the parent directory, like with /opt.

Is this correct?
_______________________________________________
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