Andreas Schwab <address@hidden> wrote:
> $ ./cp --parents /bin/cp /tmp
> ./cp: failed to get attributes of `bin': No such file or directory
Thanks for the report.
I can't reproduce that:
$ ./cp --parents /bin/cp /tmp
$ find /tmp/bin
/tmp/bin
/tmp/bin/cp
$
Would you please investigate it?
Does your /bin have unusual permissions or attributes (a la lsattr or ACLs)?
For example, what does
strace -o log ./cp --parents /bin/cp /tmp
put into the `log' file?