Skip to Content

Troubleshootingturno doctor

A gateway token file is readable by others

What turno doctor means by "mcpd: <file> is readable by others (mode <st>)", and the fix.

View source

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

What you see

  !  mcpd: <file> is readable by others (mode <st>)
     fix: chmod 600 <file> (turno doctor --fix runs it)

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 gateway tokens are the only secrets turno keeps in files, and they must be mode 600.

Fix

Run:

chmod 600 <file>

turno doctor --fix runs this repair for you, together with every other one it can.

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

The check lives in packages/turno/src/mcpd/health.ts.

On this page