Re: selinux and per-user web directories

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

 



On Mon, Apr 20, 2009 at 17:40:50 -0500,
  anonymous <bitskrieg@xxxxxxxxx> wrote:
> 
> You really want to use semanage or the next relabel will undo your changes
> 
> I'm not sure what you mean by relabel. Is that done automatically?

If you do something that might have run with selinux disabled (such as
using your system is rescue mode) or possibly after a major selinux
policy change you should relabel your system. Each file's context is
checked against a set of patterns and reset if it isn't the proper one.
restorecon also checks file's contexts against thos patterns but is
generally used for minor changes where only a small part of your file
system is known to need changes.
The patterns are not used when creating new files. There the context is
either set by the application creating it to something specific or it
gets a default based on the context of the application and the context
of the directory it is being created in. The most common default is
that the context of the file is the same as the context as the directory
it is being created in, but that isn't universal.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux