coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] copy: fix SELinux context preservation for existing director


From: Pádraig Brady
Subject: Re: [PATCH] copy: fix SELinux context preservation for existing directories
Date: Thu, 09 Jan 2014 14:48:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 01/09/2014 01:43 AM, Bernhard Voelker wrote:
> 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)?

Good point thanks. Yes it would affect `mv` and `install --preserve-context`.
I'll update the NEWS.

thanks,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]