each time i try to replace a file in a resource pack for minecraft i get this error code thing , i try to "save as" but it doesnt work either.
System.UnauthorizedAccessException: Target path has the read only flag set
at PaintDotNet.IO.SaveTransaction..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options) in d:\src\pdn\paintdotnet\src\PaintDotNet\IO\SaveTransaction.cs:line 265
at PaintDotNet.Controls.DocumentWorkspace.DoSave(Boolean tryToFlatten) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2908