Skip to content

cp-parents.sh: cp: recursive copy #3332

@ghost

Description

ref: #3320

Below described issue is at least one of the reason why the gnu test tests/cp/cp-parents.sh is in ERROR state.

gnu

> cp --verbose -a --parents a/b/c d
a -> d/a
a/b -> d/a/b
'a/b/c' -> 'd/a/b/c'

uutils

> cp --verbose -a --parents a/b/c d 
> ls -al d
total 0
drwxr-xr-x  3 bha_srik_k users  15 Mar 29 12:51 .
drwxr-xr-x 12 bha_srik_k users 178 Mar 29 12:48 ..
drwxr-xr-x  2 bha_srik_k users   6 Mar 29 12:51 c
  1. note that gnu creates the directory d/a/b/c whereas uutils creates the directory d/c
  2. also, the verbose options seems to be not working in uutils

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions