This was a larger problem on my laptop related to Unable to create files from dotnet processes in Mac
I gave dotnet executable full disk access and rebooted, and all the permissions problems are gone.
dotnet