Cache denied access

I see a lot of lines like this one in my logs:

Access to the path “/Users/vagrant/.local/share/NuGet/v3-cache” is denied.

This is a cached directory.

Hi @samueldebruyn,

Thanks for reporting the issue here, and sorry for the late reply, we had quite a large backlog due to summer vacations and support revisions lately.

Can you please copy paste the build’s link here, or send it to us through the onsite chat option on We’ll need the whole log for this issue.

From this log snippet

it seems that you might have ran the nuget command with sudo, most likely through a custom command / script; our step should not run it with sudo. Without the full log unfortunately I can’t really be more specific, but if you send us the logs or copy paste the URL here we’ll check it ASAP!