HOWTO? Install TrueType fonts (not MS freefonts) onto Fedora 10

Tony Nelson tonynelson at georgeanelson.com
Sat Jun 13 21:55:18 UTC 2009


At 14:56 -0500 06/13/2009, Chris Adams wrote:
>Once upon a time, Kevin Kofler <kevin.kofler at chello.at> 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 at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list