Closed jdfurlan closed 11 months ago
Not reproducible. The problem appears to be by something somewhere in your environment. The read-only flag being set on the .p7s file is not coming from the Newtonsoft.Json nuget package itself.
You can download the newtonsoft.json.13.0.3.nupkg
nuget package of the library from nuget.org yourself (https://www.nuget.org/packages/Newtonsoft.Json) and check the content with some ZIP archive tool (nuget packages are ZIP archives). The read-only flag is NOT set in the nuget package (nor is any other file attribute set on the .p7s file in the package). I unfortunately can't help you with any advice of what could possibly cause the read-only flag being set on the .p7s file on your system. But it is not the fault of the Newtonsoft.Json 13.0.3 nuget package, as can be easily verified by inspecting the nuget package as provided by nuget.org itself.
Confirmed that an old version of the nuget was sitting in my packages folder. After deleting, it installed correctly. Somehow the signature file set as read-only. Thanks for looking.
Expected behavior
Newtonsoft.Json 13.0.3 NuGet installs cleanly with no errors.
Actual behavior
Package Manager output shows the below:
Steps to reproduce
Notes
Access to the path is denied
exception