From 243128dbf0293be7b170dd47c8dbf3ed1834c093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 2 Jan 2014 16:40:58 +0000 Subject: copy: fix SELinux context preservation for existing directories * src/copy.c (copy_internal): Use the global process context to set the context of existing directories before they're populated. This is more consistent with the new directory case, and fixes a bug for existing directories where we erroneously set the context to the last copied descendent, rather than to that of the source directory itself. * tests/cp/cp-a-selinux.sh: Add a test for this case. * NEWS: Mention the fix. * THANKS.in: Add reporter Michal Trunecka. --- THANKS.in | 1 + 1 file changed, 1 insertion(+) (limited to 'THANKS.in') diff --git a/THANKS.in b/THANKS.in index 658837601..5b3e96ed2 100644 --- a/THANKS.in +++ b/THANKS.in @@ -441,6 +441,7 @@ Michael Veksler mveksler@techunix.technion.ac.il Michail Litvak mci@owl.openwall.com Michal Politowski mpol@charybda.icm.edu.pl Michal Svec msvec@suse.cz +Michal Trunecka mtruneck@redhat.com Michel Robitaille robitail@IRO.UMontreal.CA Michiel Bacchiani bacchian@raven.bu.edu Mike Castle dalgoda@ix.netcom.com -- cgit v1.2.1