github / github/copilot-cli

Can’t run `uv sync` in the sandbox due to file system access block

Ouverte
#1,300 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
area:permissions
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### Describe the bug

When I try to run `uv sync` in a sandboxed environment, the command fails due to blocked file system access. The sandbox prevents the command from accessing the required cache directory, resulting in an error. See the attached screenshot for details.

Error output when running uv sync in sandbox

### Affected version

_No response_

### Steps to reproduce the behavior

1. Open a sandboxed terminal environment.
2. Run the command: `uv sync`
3. Observe the error indicating failure to access the required cache directory.

### Expected behavior

`uv sync` should be able to run successfully in the sandbox, or provide a clear message if file system access is not permitted.

### Additional context

Terminal output indicates: "failed to open file... os error 1".

System: macOS using a sandboxed environment.
Issue presented in project: github/copilot-cli.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.