Sandbox bug - blocking shell
Personne n'a encore pris cette issue.
- 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
Bug: sandbox.enabled: false is not honored — shell backend still initializes BaseContainer and fails with a WRITE_DAC error, making all shell execution impossible on Windows.
Version: 1.0.81-2 (win32-x64), Windows_NT. Config: ~/.copilot/settings.json shows "sandbox":{"enabled":false,...} .
Error on every shell/tool call: backend_unavailable: BaseContainer is unavailable; DACL fallback requires write-DAC permission on 'C:' (ERROR_ACCESS_DENIED, WRITE_DAC not granted) .
Repro: Set sandbox.enabled:false , /restart → shell still fails identically. Persisted ~8h across many restarts. Launching elevated crashes on start. icacls "C:\Program Files\nodejs" /reset advanced the failing path from C:\Program Files\nodejs → C:\ (the DACL fallback walks up the tree; BaseContainer never initializes).
Expected: With sandbox disabled, run commands directly with no container/DACL step. At minimum, fail with a clear, actionable message instead of attempting WRITE_DAC on C:\ .
Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Start by reproducing the issue on Windows with sandbox.enabled set to false in ~/.copilot/settings.json, then trace how that setting reaches the shell backend. Verify that disabled sandboxing avoids BaseContainer and DACL initialization, and that shell commands run without the WRITE_DAC failure or produce a clear actionable error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 63/100