microsoft / microsoft/aspire

Why does `aspire doctor` want permission to access to everything on Mac

Open
#16,065 1 comment 0 reactions 0 assignees View on GitHub
area-cli
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

When running `aspire doctor` for the first time, my Mac suddenly brought a whole bunch of prompts for permission access. I think I had 5-10 before I grabbed the below screenshots so it was a lot more than these. (photos, music etc.)

Image

Image

### Expected Behavior

I wouldn't expect `aspire doctor` to need any of those permissions. If it did, I'd expect `aspire doctor` to print a message warning that the permissions may be needed, and justifying why they're needed.

### Steps To Reproduce

run `aspire doctor`

### Exceptions (if any)

_No response_

### Aspire doctor output

Aspire Environment Check
========================

.NET SDK
✔ .NET 10.0.103 installed (arm64)

Container Runtime
⚠ Docker Desktop is installed but not running
Start Docker Desktop
See: https://aka.ms/dotnet/aspire/containers

Environment
✔ HTTPS development certificate is trusted
⚠ HTTPS development certificate has an older version (v5)
Run 'aspire certs clean' to remove all certificates, then run
'aspire certs trust' to create and trust a new one.
See: https://aka.ms/aspire-prerequisites#dev-certs
Details:
Older certificate versions (< v4) may not support all certificate
trust scenarios.

Summary: 2 passed, 2 warnings, 0 failed
For detailed prerequisites: https://aka.ms/aspire-prerequisites

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.