Sometimes you need administrator permissions to modify a file, and the right-click-attribute to modify the user permissions of the file is invalid, then the following methods can be used.
Copy the file to be modified to the desktop, modify the copied file on the desktop, copy it back after the change, replace the file, and it will be successful