Paul Howarth wrote:
On Wed, 30 Dec 2009 18:52:02 -0600
Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> wrote:
On my system I have home directories in /var/home and bind mounted
to /home:
/var/home on /home type none (rw,bind)
Is there any way to prevent restorecon on /var from descending into
/var/home and destroying the normal home directory file contexts?
Reproducing all of file_contexts.homedirs in local policy is of course
unmaintainable.
You can make the file contexts for /var/home match those for /home very
easily on F-11 onwards:
# semanage fcontext -a -e /home /var/home
See http://danwalsh.livejournal.com/2009/04/09/ for Dan's blog on file
context equivalency.
TYVM. Perhaps someday the manpage for semanage will include some mention
of that "-e" flag.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list