← Back to team overview

openjdk team mailing list archive

[Bug 2116572] Re: cp --parents is broken

 

This bug was fixed in the package openjdk-8 - 8u462-ga~us1-0ubuntu2

---------------
openjdk-8 (8u462-ga~us1-0ubuntu2) questing; urgency=medium

  * d/rules: correct version_dash_buildnr variable, use actual build
    number (LP: #2117226).

 -- Vladimir Petko <vladimir.petko@xxxxxxxxxxxxx>  Fri, 18 Jul 2025
18:37:38 +1200

** Changed in: openjdk-8 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/2116572

Title:
  cp --parents is broken

Status in coreutils:
  Fix Released
Status in openjdk-8 package in Ubuntu:
  Fix Released
Status in openjdk-lts package in Ubuntu:
  Fix Released
Status in rust-coreutils package in Ubuntu:
  In Progress

Bug description:
  $ mkdir ja.utf-8
  $ ln -s ja.utf-8/ ja
  $ cp --reflink -dp --parents ja x
  $ ls x
  x@
  $ ls -lh x
  lrwxrwxrwx 1 jak jak 9 Jul 11 07:04 x@ -> ja.utf-8/
  $ rm -r x
  $ mkdir x
  $ cp --reflink -dp --parents ja x
  cp: cannot create symlink 'x' to 'ja.utf-8': File exists (os error 17)
  $ gnucp --reflink -dp --parents ja x
  $ ls x
  ja@

  In particular if we do
  $ rm -r x
  $ gnucp --reflink -dp --parents ja x
  gnucp: with --parents, the destination must be a directory
  Try 'gnucp --help' for more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/coreutils/+bug/2116572/+subscriptions