← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122363] Re: cp -T: prefix not found

 

Fixed in 0.3.0 in resolute-proposed

** Changed in: rust-coreutils (Ubuntu)
       Status: Confirmed => Fix Committed

** Also affects: systemd (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: subiquity (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: mkosi (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: rust-coreutils (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Resolute)
   Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
       Status: Fix Released

** Also affects: subiquity (Ubuntu Resolute)
   Importance: Undecided
       Status: Fix Released

** Also affects: mkosi (Ubuntu Resolute)
   Importance: Undecided
       Status: Fix Released

** Also affects: rust-coreutils (Ubuntu Resolute)
   Importance: Low
       Status: Fix Committed

** Changed in: subiquity (Ubuntu Questing)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Questing)
       Status: New => Fix Released

** Changed in: mkosi (Ubuntu Questing)
       Status: New => Fix Released

** Changed in: rust-coreutils (Ubuntu Questing)
       Status: New => Triaged

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

Title:
  cp -T: prefix not found

Status in mkosi package in Ubuntu:
  Fix Released
Status in rust-coreutils package in Ubuntu:
  Fix Committed
Status in subiquity package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  Fix Released
Status in mkosi source package in Questing:
  Fix Released
Status in rust-coreutils source package in Questing:
  Triaged
Status in subiquity source package in Questing:
  Fix Released
Status in systemd source package in Questing:
  Fix Released
Status in mkosi source package in Resolute:
  Fix Released
Status in rust-coreutils source package in Resolute:
  Fix Committed
Status in subiquity source package in Resolute:
  Fix Released
Status in systemd source package in Resolute:
  Fix Released

Bug description:
  with rust-coreutils, cp -T fails to behave like gnucp when using it to
  copy a source directory to a target location and that location doesn't
  exist yet.

  ```
  #!/bin/bash
  set -eux

  rm -fr src dst

  mkdir src
  touch src/file.txt

  /usr/lib/cargo/bin/coreutils/cp -aT src dst

  [ -f dst/file.txt ]
  ```

  Workarounds:
  * remove -T from the cp invocation
  * mkdir dst before the cp invocation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mkosi/+bug/2122363/+subscriptions