From: dE <de.techno@gmail.com>
To: selinux@tycho.nsa.gov
Subject: How does matchpathcon/setfiles work?
Date: Sun, 01 Jun 2014 20:49:35 +0530 [thread overview]
Message-ID: <538B4487.8050807@gmail.com> (raw)
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?
next reply other threads:[~2014-06-01 15:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-01 15:19 dE [this message]
2014-06-02 6:42 ` How does matchpathcon/setfiles work? Sven Vermeulen
2014-06-02 9:57 ` dE
2014-06-02 13:20 ` Stephen Smalley
2014-06-02 18:25 ` dE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=538B4487.8050807@gmail.com \
--to=de.techno@gmail.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.