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

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



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


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