bug#8767: cp: --preserve=all doesn't work for the parents when --parent
From:
Christoph Anton Mitterer
Subject:
bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used
Date:
Mon, 30 May 2011 22:43:02 +0000
User-agent:
RoundCube Webmail/0.3.1
Hi.
When doing something like:
cp --no-dereference --preserve=all --parents --no-clobber "${pathname}"
"${destination}"
Then the file (if it's not a directory) will be copied to
${destination}/${pathname} including all the directories within ${pathname}
(e.g. ./foo/bar/file).
While the owner (user/group) and file permission bits of foo and bar seem
to be preserved, the XATTRs are not (maybe the other preserve-classes are
also not preserved).
Doubt that this is desired, so I guess it's a bug.
Cheers,
Chris.