Re: mount --bind and autorelabel versus restorecon

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

 



On Tue, Feb 17, 2009 at 15:26:02 +0100,
  Per Sjoholm <Per.t.Sjoholm@xxxxxxxxxx> wrote:
>
> It's possible to construct file context and they will most likely NOT
> work reliable for both autorelabel and restorecon

You can use semanage to specify path patterns that should receive specific
labels. This will allow relables and restorecon to properly label the
files and/or directories. The default is for new files in a directory
to get their context label from the directory, so you normally don't have
to relabel files after creating them if the directory they are in has the
correct context.

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux