Re: SELINUX

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

 



Hi Bruno,

On 31 August 2010 13:21, Bruno Wolff III <bruno@xxxxxxxx> wrote:
> 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.
>

Thanks for your comments. Despite my ill informed usage I guess I
didn't run into problems since my use case is to apply contexts for
new non-existent configuration files or to restore contexts after I
have edited them with emacs. (btw, emacs 24 supports selinux now, I
have been compiling it from source just to keep using emacs while
editing conf files :-p )

I'll try to read up more and follow the recommended way.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux