GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Path-based read permissions not enforced; catch-all rules always take precedence · Issue #13646 · anomalyco/opencode Closed Closed Copy link Labels bugSomething isn't working DescriptionDescriptionPath-scoped read permissions don't work. Configurations Attempted
--- description: Lightweight workflow orchestrator - executes skills and subagents with read/write access to docs folder only mode: primary temperature: 0.3 permission: skill: allow task: allow todowrite: allow todoread: allow <read configuration here> --- ... Bellow yaml part of md file for agen configuration ❌ Configuration 1 (Initial - Read tool disappeared)permission: skill: allow task: allow todowrite: allow todoread: allow read: "docs/**": allow "game_docs/**": allow "*": deny Expected: Agent can read only Actual: ❌ Configuration 2 (Added top-level allow - Back to unsecured)permission: skill: allow task: allow todowrite: allow todoread: allow read: allow # ← Added this read: "docs/**": allow "game_docs/**": allow "*": deny Expected: Nested Actual:
❌ Configuration 3 (Removed top-level allow, rule order first)permission: skill: allow task: allow todowrite: allow todoread: allow read: "*": deny # ← Catch-all deny first "docs/**": allow # ← Specific allows after "game_docs/**": allow Expected: Last matching rule wins (per OpenCode docs) - specific allows after deny should work Actual:
ImpactSecurity issue - agents cannot be reliably restricted to specific file directories. Path-based permissions do not work as documented. PluginsNo response OpenCode version1.1.60 Steps to reproduceNo response Screenshot and/or share linkNo response Operating SystemmacOs TerminalGhosty Reacted by Santiago M. Mola, Pablo Solera, Diego, Manuel Olguín Muñoz, Ph.D. and zainadmuh Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |