Re: [PATCH] copy: fix SELinux context preservation for existing director
From:
Bernhard Voelker
Subject:
Re: [PATCH] copy: fix SELinux context preservation for existing directories
Date:
Thu, 09 Jan 2014 02:43:02 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
On 01/05/2014 04:00 PM, PƔdraig Brady wrote:
> src/copy.c | 13 ++++++++++++-
...
> diff --git a/NEWS b/NEWS
> index 66884db..0d81f45 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -2,6 +2,13 @@ GNU coreutils NEWS -*-
> outline -*-
>
> * Noteworthy changes in release ?.? (????-??-??) [?]
>
> +** Bug fixes
> +
> + cp -a again sets the correct SELinux context for existing directories in
> + the destination. Previously it set the context of an existing directory
> + to that of its last copied descendent.
> + [bug introduced in coreutils-8.22]
As the fix is in copy.c - doesn't this also affect mv (and maybe install)?
Have a nice day,
Berny