Re: SELINUX

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

 



On Tue, Aug 31, 2010 at 10:23:48 -0700,
  suvayu ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> 
> # chcon --reference /some/similar/file <file>

The problem with using chcon is that you don't test if a relabel will break
things. For the most part you want to set the new labelling pattern with
semanage and then apply the pattern with restorecon.
There are a few exceptions where things with some patterns get left the
way they are and for those cases chcon makes sense to use.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux