Public bug reported:
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 ..
** Affects: rust-coreutils (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
+ 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 ..
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125632
Title:
cp fails with filenames ending in backslash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2125632/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs