|
From: | GNU bug Tracking System |
Subject: | bug#55910: closed (cp error) |
Date: | Sat, 11 Jun 2022 17:57:02 +0000 |
Your message dated Sat, 11 Jun 2022 10:56:11 -0700 with message-id <0767991e-9411-89bd-7c43-5adffd0b5c85@cs.ucla.edu> and subject line Re: bug#55910: cp error has caused the debbugs.gnu.org bug report #55910, regarding cp error to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 55910: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55910 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: cp error Date: Sat, 11 Jun 2022 11:07:15 +0200 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 ENOENT. Instead, the exact same steps work on arch linux 2022.03, which has coreutils 9.0-2. Note that -x should prevent trying to copy /mnt under itself; on 2022.03, there is a proper error message for cp -a / /mnt without -x.
--- End Message ---
--- Begin Message ---Subject: Re: bug#55910: cp error Date: Sat, 11 Jun 2022 10:56:11 -0700 Thanks for the bug report. I installed the attached patch, which should fix it. Please give it a try. User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 0001-cp-fix-cp-rx-mnt.patch
Description: Text Data
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |