Project restore produces lots permission denial errors on macOS

azizatif+appveyor's Avatar


27 Dec, 2020 02:08 PM

My project build succeeds, but I am seeing lots of permission denial errors on a macOS image:

118  Determining projects to restore...
119  Retrying 'FindPackagesByIdAsync' for source ''.
120  Access to the path '/Users/appveyor/.local/share/NuGet' is denied.
121    Permission denied
122  Retrying 'FindPackagesByIdAsync' for source ''.
123  Access to the path '/Users/appveyor/.local/share/NuGet' is denied.
124    Permission denied
125  Retrying 'FindPackagesByIdAsync' for source ''.
126  Access to the path '/Users/appveyor/.local/share/NuGet' is denied.
127    Permission denied
128  Retrying 'FindPackagesByIdAsync' for source ''.
129  Access to the path '/Users/appveyor/.local/share/NuGet' is denied.
130    Permission denied
131  Failed to download package 'Microsoft.CodeAnalysis.CSharp.3.8.0' from ''.

The list goes on. All of them point the same error about access to /Users/appveyor/.local/share/NuGet being denied. While the build succeed, it seems like a problem waiting to get worse eventually and failing future builds (besides adding lots of false negative noise at the moment).

The full log of the build can be found at:

After much searching, I haven't found anyone complaining about a similar issue, but that just probably just my search skills failing me. Is this something specific to .NET 5 SDK or perhaps how the image is setup with a preview? Do you know why the permission errors may be occurring?


  1. Support Staff 1 Posted by Feodor Fitsner on 27 Dec, 2020 05:53 PM

    Feodor Fitsner's Avatar

    Thanks for letting know! Definitely, it looks like an issue.

    We are currently working on macOS image update and the build looks OK on it:

    Will be rolling out the update today.

  2. Support Staff 2 Posted by Feodor Fitsner on 27 Dec, 2020 06:35 PM

    Feodor Fitsner's Avatar

    Image has been updated. Your build should be good now.

  3. 3 Posted by azizatif+appvey... on 30 Dec, 2020 06:46 PM

    azizatif+appveyor's Avatar


    You are tremendous and thanks for such a quick turnaround! It works like a charm:

    Wish you all the best for 2021!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM