Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77999 - [coreutils] cp and install --reflink=auto failure

Attached to Project: Arch Linux
Opened by Matt (rabidpug) - Sunday, 26 March 2023, 12:25 GMT
Last edited by Toolybird (Toolybird) - Sunday, 26 March 2023, 20:25 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Sébastien Luttringer (seblu)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
Both cp and install commands fail to properly copy files in version 9.2, even as root copying a file root creates in ~
Issue does not occur after downgrading to 9.1.
cp creates an empty file and exits

Additional info:
* package version(s) - 9.2
* config and/or log files etc. - "cp: failed to clone 'dest-file' from 'src-file': Operation not permitted"
* link to upstream bug report, if any

Steps to reproduce:
>echo 'test' > src-file
>cp src-file dest-file
cp: failed to clone 'dest-file' from 'src-file': Operation not permitted
>cat dest-file
>
This task depends upon

Comment by Matt (rabidpug) - Sunday, 26 March 2023, 12:33 GMT
Issue occurs for me in both 9.2-1 and 9.2-2 but not 9.1-3
Comment by loqs (loqs) - Sunday, 26 March 2023, 15:44 GMT
Is the result the same if you add the option --reflink=none ? This is testing for [1].

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62404
Comment by Matt (rabidpug) - Sunday, 26 March 2023, 19:52 GMT
Looks like that's the issue I'm encountering! --reflink=never copies successfully.
Thanks for the quick response
Comment by Ioannis Kozanitis (giannis-arch) - Monday, 27 March 2023, 17:04 GMT

Loading...