At 14:56 -0500 06/13/2009, Chris Adams wrote: >Once upon a time, Kevin Kofler <kevin.kofler@xxxxxxxxx> said: >> 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. > >Nope. "cp" does not copy context by default, so a file would inherit >the context of the destination directory. You have to specify >additional options to copy context. > >If you "mv" a file, the context is not changed. Heh. Right. I copied the files with -a, so -c preserve context. A simple optionless cp would have worked correctly. Doh! -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/> -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines