[Bug 2116572] Re: cp --parents is broken
Julian Andres Klode
2116572 at bugs.launchpad.net
Fri Jul 11 05:15:07 UTC 2025
** Bug watch added: github.com/uutils/coreutils/issues #8330
https://github.com/uutils/coreutils/issues/8330
** Also affects: coreutils via
https://github.com/uutils/coreutils/issues/8330
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2116572
Title:
cp --parents is broken
Status in coreutils:
Unknown
Status in rust-coreutils package in Ubuntu:
New
Bug description:
$ mkdir ja.utf-8
$ ln -s ja.utf-8/ ja
$ cp --reflink -dp --parents ja x
$ ls x
x@
$ ls -lh x
lrwxrwxrwx 1 jak jak 9 Jul 11 07:04 x@ -> ja.utf-8/
$ rm -r x
$ mkdir x
$ cp --reflink -dp --parents ja x
cp: cannot create symlink 'x' to 'ja.utf-8': File exists (os error 17)
$ gnucp --reflink -dp --parents ja x
$ ls x
ja@
In particular if we do
$ rm -r x
$ gnucp --reflink -dp --parents ja x
gnucp: with --parents, the destination must be a directory
Try 'gnucp --help' for more information.
To manage notifications about this bug go to:
https://bugs.launchpad.net/coreutils/+bug/2116572/+subscriptions
More information about the foundations-bugs
mailing list