Describe the bug
Sandbox user filesystem policies are ignored for certain commands (eg. python) when "allow dev tool access" is enabled.
Affected version
GitHub Copilot CLI 1.0.83
Steps to reproduce the behavior
- Enable Copilot CLI's sandbox and "allow dev tool access" (enabled by default).
- Add a user policy for a read/write filesystem path.
- Ask Copilot to write to that path using
python:
python -c 'import os; open("/home/tom/.cache/uv/test", "w")'
The command fails with Read-only file system.
- Ask Copilot to run the same command via a wrapper with a different basename (eg.
env):
env python -c 'import os; open("/home/tom/.cache/uv/test", "w")'
The command succeeds.
Expected behavior
User filesystem policies are honored for all commands, even when "allow dev tool access" is enabled.
Additional context
- Operating System: Linux (Ubuntu 26.04)
Describe the bug
Sandbox user filesystem policies are ignored for certain commands (eg.
python) when "allow dev tool access" is enabled.Affected version
GitHub Copilot CLI 1.0.83
Steps to reproduce the behavior
python:Read-only file system.env):Expected behavior
User filesystem policies are honored for all commands, even when "allow dev tool access" is enabled.
Additional context