https://bugs.winehq.org/show_bug.cgi?id=56925 Bug ID: 56925 Summary: msys2-64/cygwin64: unlink of read-only file fails Product: Wine Version: 9.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs(a)winehq.org Reporter: bernhardu(a)mailbox.org Distribution: --- Created attachment 76744 --> https://bugs.winehq.org/attachment.cgi?id=76744 A few notes and backtraces in wine and cygwin. In another attempt to check the state of msys2 or cygwin I found following issue trying to update a msys2-64 installation: # LANG=C pacman -Suy :: Synchronizing package databases... ... warning: could not remove lock file /var/lib/pacman/db.lck error: failed to init transaction (unable to lock database) error: could not lock database: File exists ... A simpler version to reproduce is this: rm -f test.txt LANG=C wine cmd echo test > test.txt attrib +r test.txt c:\msys64\usr\bin\rm.exe -f -v test.txt Returns: /usr/bin/rm: cannot remove 'test.txt': Permission denied This tests were done with a wine tree including patches for this bugs: 52105 55138 53574 54995 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.