Package: coreutils
Version: 8.5-1
Severity: normal

Hi!

It appears that the option -L (dereference symlinks in source) does not work
when cp is asked to create a link.  Thus, you'll get a hardlink to a symlink
rather than to the real file -- and unless the symlink was absolute or we're
copying to the same directory, it's quite useless now.

Expected behaviour: "cp -Ll foo bar" should do "cp -l `readlink -f foo` bar",
like regular cp -L does.

cp -Ls exhibits the same problem, although symlinks to symlinks are not as
bad since they continue to work (but it's still not what I asked for).


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.49-4   Access control list shared library
ii  libattr1                      1:2.4.44-2 Extended attribute shared library
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.98-1   SELinux runtime shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to