Skip to Content

Esta página todavía no está traducida, así que la ves en inglés.

Solución de problemasturno doctor --security

The audit log cannot be read

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

Ver el código fuente

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.

En esta página