thank you for opening this bug and helping make Ubuntu better. A patch
has just been proposed upstream and, if accepted, it should be added to
coreutils-7.0 (and make it to Intrepid+1).

The just-proposed patch was presented with this text:


------------------------------
Subject: [PATCH]: cp '-a' should try to preserve SELinux context, SELinux 
context cp documentation adjustments
Hello,
as documented in NEWS and as written in test cp-a-selinux, cp -a should
try to preserve selinux context, if possible. The activation boolean
preserve_security_context was missing in this branch. Also cp -a is not
really equivalent to -dpR, but to -dR --preserve-all , as it tries(or at
least it should try) SELinux context. Following changes were done to
make documentation more precise and preserve=context and preserve=all
behaviour after failure SELinux context preserving is documented by that
patch as well.

Greetings,
         Ondřej Vašík

------------------------------

** Changed in: coreutils (Ubuntu)
   Importance: Undecided => Low
       Status: New => Triaged

-- 
"cp" command doesn't preserve selinux context
https://bugs.launchpad.net/bugs/203433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to