Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer,
This doesn't work in bookworm but works in bullseye: $ mkdir /tmp/newdir $ cp -p --parent /etc/passwd /tmp/newdir cp: ‘etc’: No such file or directory /tmp/newdir/etc gets created but with wrong permission and also the error message above. $ ls -ald /tmp/newdir/etc drwx------ 2 gb gb 60 Oct 17 14:54 /tmp/newdir/etc Should be: drwxr-xr-x 2 gb gb 60 Oct 17 11:09 /tmp/newdir/etc Could be the same as: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/2017414 -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-13-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages coreutils depends on: ii libacl1 2.3.1-3 ii libattr1 1:2.5.1-4 ii libc6 2.36-9+deb12u3 ii libgmp10 2:6.2.1+dfsg1-1.1 ii libselinux1 3.4-1+b6 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information