bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-09-13 Thread Jim Meyering
tags 8767 + moreinfo thanks Ondrej Vasik wrote: On Tue, 2011-05-31 at 15:20 +0200, Christoph Anton Mitterer wrote: On Tue, 2011-05-31 at 09:42 +0200, Ondrej Vasik wrote: Could you please specify coreutils version where you experience the issue? Sorry, forgot that. This was the corutils

bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-05-31 Thread Ondrej Vasik
On Mon, 2011-05-30 at 22:43 +, Christoph Anton Mitterer wrote: 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

bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-05-31 Thread Christoph Anton Mitterer
On Tue, 2011-05-31 at 09:42 +0200, Ondrej Vasik wrote: Could you please specify coreutils version where you experience the issue? Sorry, forgot that. This was the corutils from Debian sid, which is currently 8.5. but in the case of extended attributes and SELinux context possible failure of

bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-05-31 Thread Ondrej Vasik
On Tue, 2011-05-31 at 15:20 +0200, Christoph Anton Mitterer wrote: On Tue, 2011-05-31 at 09:42 +0200, Ondrej Vasik wrote: Could you please specify coreutils version where you experience the issue? Sorry, forgot that. This was the corutils from Debian sid, which is currently 8.5. Thanks for

bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-05-30 Thread Christoph Anton Mitterer
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