No way to revoke folder trust except editing ~/.claude.json by hand
Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 1, 2026
Once a folder is trusted (projects["<path>"].hasTrustDialogAccepted), there's no in-app or CLI way to revoke it — no "forget this folder" setting, no /permissions subcommand, nothing in the desktop app's Settings. The only way is to hand-edit ~/.claude.json.
This matters because trust is all-or-nothing per directory tree and inherits to every subfolder, but there's no way to walk it back if you trusted a folder that turned out to be broader than intended (e.g. trusted a parent when you only meant to work in a subfolder).
Related: #54614 (launching desktop app scoped to a specific folder) — same underlying gap of trust/scope being coarser than users want to control.