Once upon a time, Kevin Kofler <[email protected]> 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.
-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to