[Bug 2125632] Re: cp fails with filenames ending in backslash
Launchpad Bug Tracker
2125632 at bugs.launchpad.net
Thu Sep 25 18:55:47 UTC 2025
** Merge proposal linked:
https://code.launchpad.net/~simpoir/ubuntu/+source/lintian/+git/lintian/+merge/493321
--
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/2125632
Title:
cp fails with filenames ending in backslash
Status in rust-coreutils package in Ubuntu:
New
Bug description:
upstream bug https://github.com/uutils/coreutils/issues/8739
Although uncommon and probably unwise, linux filenames can end in slash.
uutils-coreutils appears to wrongfull intrepret those as directories and fails copying.
This currently breaks tests some lintian tests.
repro:
# cp -V
cp (uutils coreutils) 0.2.2
# mkdir a
# touch a/foo\\
# cp -r a b
cp: 'b/foo\' is not a directory
# ls -la b
total 1
drwxr-xr-x 2 root root 2 Sep 24 23:07 .
drwx------ 6 root root 9 Sep 24 23:07 ..
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2125632/+subscriptions
More information about the foundations-bugs
mailing list