← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2116859] Re: `cp -a` fails to copy symlink to directory

 

** Tags added: rls-qq-incoming

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to yaru-theme in Ubuntu.
https://bugs.launchpad.net/bugs/2116859

Title:
  `cp -a` fails to copy symlink to directory

Status in coreutils-from package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  New
Status in yaru-theme package in Ubuntu:
  Triaged

Bug description:
  uutils `cp -a` fails to copy a symlink-to-an-existing-directory into
  another directory

  mkdir foo
  mkdir dst
  ln -s foo bar
  cp -a bar dst
  > cp: cannot create symlink 'dst' to 'foo': File exists (os error 17)

  gnucp -a bar dst --verbose
  > 'bar' -> 'dst/bar'

  This affects dh_install when a symlink to an existing directory is
  listed in debian/install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2116859/+subscriptions



References