From cca83fafa69eb26db458714830b77498b88af8a4 Mon Sep 17 00:00:00 2001 From: Ondřej Vašík Date: Mon, 14 Sep 2009 14:12:01 +0100 Subject: cp,mv: preserve extended attributes even for read-only files * src/copy.c (copy_reg): Temporarily set u+rw on the destination file to allow GNU/Linux to set xattrs. * tests/misc/xattr: Test that change. * NEWS (Bug fixes): Mention it. Reported by Ernest N. Mamikonyan. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 980fb543f..30f314449 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + cp --preserve=xattr and --archive now preserve extended attributes even + when the source file doesn't have write access. + [bug introduced in coreutils-7.1] + ** Changes in behavior id no longer prints SELinux " context=..." when the POSIXLY_CORRECT -- cgit v1.2.3-54-g00ecf