bug#55910: cp error

2022-06-11 Thread Paul Eggert
Thanks for the bug report. I installed the attached patch, which should fix it. Please give it a try.From b54da709a1f3a6f10ed3150b0ae5269002a1053c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 11 Jun 2022 10:49:18 -0700 Subject: [PATCH] =?UTF-8?q?cp:=20fix=20=E2=80=98cp=20-rx=20/=20/mnt?=

bug#55910: cp error

2022-06-11 Thread pk
Package: coreutils - Boot arch linux live cd 2022.06. It has coreutils 9.1-1. - mkfs.btrfs /dev/vda - mount /dev/vda /mnt - cp -ax / /mnt cp: cannot create directory '/mnt/': No such file or directory If relevant: strace says that newfstatat and mkdirat have been given "" as pathname and return E