Can I set SELinux contexts for individual files and directories on a GFS2 filesystem?
Issue
- The GFS2 product documentation says to use the
context
mount option to set SELinux contexts for a GFS2 filesystem. Can I set contexts for individual files and directories instead of (or in addition to) using thecontext
mount option?
Environment
- Red Hat Enterprise Linux 7 (with the Resilient Storage Add-on)
- A GFS2 filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.