Skip to Content

Troubleshootingturno doctor --security

The audit log cannot be read

What turno doctor --security means by "audit log: cannot read it: <message>", and the fix.

View source

This page is for when turno doctor --security reports the finding below: what it means and how to fix it.

What you see

  !  audit log: cannot read it: <message>
     manual: check the owner and mode of <audit log> (yours, 600)

It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.

Why it happens

The accounts bridge writes every delegated call to audit.jsonl in turno's state folder. turno could not read it.

Fix

Check the owner and mode of <audit log> (yours, 600)

No single command fixes this one, so doctor names the manual step.

Then run turno doctor --security again to see the row turn into ok.

The check lives in packages/turno/src/cli/security.ts.

On this page