On Sat, Jun 13, 2009 at 21:40:00 +0200, Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote: > Tim wrote: > > Surely not... If you copy a file to a standard location, it should get > > set the proper contexts, during the copy. > > That's not how SELinux works. It'll copy the context from the original > location. You need to explicitly relabel the file to the default context > for the new location. I don't think that is correct. If you move a file within the same file system or you copy using the appropiate preserve option then you should get the original context (assuming selinux doesn't block this). Otherwise the context depends on the context cp is running in and the context of the directory it is being copied to (usually you get the same context as the directory). -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines