diff options
author | Kamil Dudka <kdudka@redhat.com> | 2016-11-28 16:21:42 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-28 16:17:31 +0000 |
commit | d8104265f229ababd5a68a46eeccbccc07e72cdc (patch) | |
tree | 7708c3d2eca30a3094de010b09bab746ec226770 /NEWS | |
parent | a39641cbb8f37c5a19dd4820c6f6719c82d3e633 (diff) | |
download | coreutils-d8104265f229ababd5a68a46eeccbccc07e72cdc.tar.xz |
install,mkdir: fix handling of -DZ and -pZ, respectively
... in the case where two or more directories nested in each other are
created and each of them defaults to a different SELinux context.
* src/install.c (make_ancestor): When calling defaultcon(), give it the
same path that is given to mkdir(). The other path is not always valid
wrt. current working directory.
* src/mkdir.c (make_ancestor): Likewise.
* NEWS: Mention the bug fix.
Reported at https://bugzilla.redhat.com/1398913
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,10 @@ GNU coreutils NEWS -*- outline -*- factor again outputs immediately when numbers are input interactively. [bug introduced in coreutils-8.24] + install -DZ and mkdir -pZ now set default SELinux context correctly even if + two or more directories nested in each other are created and each of them + defaults to a different SELinux context. + ls --time-style no longer mishandles '%%b' in formats. [bug introduced in coreutils-7.2] |