I have only been using Windows 11 for a short time, but had a similar problem with read only files. It seems win 11 indexes a lot of the files or folders on my computer as read-only. I had to take ownership of files that I already owned (Admin- Full Control).. Try this and it should solve your problem. I added this (Take Ownership) to the Context menu and used that anytime I encountered a read only folder or file.. And it allowed me full control of the file in question every time. Best of Luck !
https://www.elevenforum.com/t/add-take-ownership-to-context-menu-in-windows-11.1230/