Skip to Content

Troubleshootingturno doctor --security

Other users can change turno's launchers

What turno doctor --security means by "permissions: group or others can write <writable>, so they could change what ...", 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

  x  permissions: group or others can write <writable>, so they could change what your launchers and the gateway headers script run

It is a warning or a failure; a failure makes turno doctor --security exit with code 1. Words in angle brackets stand for values from your machine.

Why it happens

TURNO_BIN (~/.local/bin by default) holds the profile launchers, which start every session, and turno-mcp-headers, which agent configs run for their gateway headers. When group or others can write the folder or that script, another user could change what they run. The folder and scripts stay readable by others (0755); only write access is a finding. It is a warning when only a group that is yours alone can write: on Linux, a group named after you with no other member (a user private group). On macOS every local user's primary group is staff, so group write access there is a failure, as it is for any other group, or when the system cannot tell who is in the group.

Fix

Run turno doctor --security --fix. It removes group and other write access from a folder or script that you own, that is not a link, and that sits in your home. For any other (a TURNO_BIN such as /usr/local/bin, or a link), doctor prints the chmod go-w to run as the owner of each path instead.

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