Skip to content

Did you know?

Claude Code ignores the allow rules in a project's .claude/settings.json until you trust that folder.

Run claude interactively in the folder once and accept the trust prompt; deny rules apply either way.

Explained

Permission rules in .claude/settings.json let Claude Code run listed commands without asking. But the allow entries only take effect after you have trusted the folder. Until then, Claude Code prints a warning and asks about every command (or refuses them in non-interactive runs):

Ignoring 3 permissions.allow entries from .claude/settings.json: this workspace has not been trusted. Run Claude Code interactively here once and accept the trust dialog

Start claude interactively in the folder once and accept the trust prompt. The safeguard exists so that a cloned repository can’t silently grant itself permissions. Deny rules apply either way.

Learn more

← All tech tips · Suggest a fix

Back to top