github / github/copilot-cli

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

未關閉
#1,300 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:permissions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。