[PATCH]: cp '-a' should try to preserve SELinux context, SELinux context
From:
Ondřej Vašík
Subject:
[PATCH]: cp '-a' should try to preserve SELinux context, SELinux context cp documentation adjustments
Date:
Tue, 07 Oct 2008 17:03:13 +0200
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