Your message dated Sat, 26 Jan 2008 20:03:04 -0500
with message-id <[EMAIL PROTECTED]>
and subject line cp: recursive linking of filenames containing spaces fails
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: coreutils
Version: 5.97-5
Severity: normal

When using 
> cp -lar srcdir/* targetdir

on a srcdir containing files (no matter how deep in srcdir) with spaces in 
their filenames, cp complains:
> cp: cannot create hard link `targetdir/(...)/filename' to 
> `targetdir/(...)/filename': No such file or directory

This cryptical message (which implies trying to create a hardlink from a file 
to itself?) is caused by a filename
containing a space. Note that I took the quotes in the above messages exactly 
as they were: not even a small hint
about a whitespace at the end of a filename, it took me ages to find the cause 
of this problem! Also note that
this problem isn't related to some kind of shell variable expansion, since I'm 
using recursive cp. The file
responsible for my problems was about 5 levels deep in the directory structure 
under srcdir.

In my opinion cp should be able to handle filenames containing all kinds of 
permitted characters, this includes
filenames with a white space at the end.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.41-1     Access control list shared library
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libselinux1                 1.32-3       SELinux shared libraries

coreutils recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Can't reproduce, no other reports of a similar problem. Closing.

Mike Stone


--- End Message ---

Reply via email to