Skip to content

TS_STATE_DIR - permission denied #113

@melojms

Description

@melojms

I'm trying to run tsidp using docker-compose, but I'm getting the permission error:

tsidp | 2025/11/02 10:13:17 ERROR failed to start tsnet server error="tsnet.Up: tsnet: logpolicy.Config.Save for /data/tailscaled.log.conf: open /data/tailscaled.log.conf.tmp397936848: permission denied"

My docker-compose.yml is the same that is in the repository README.
If I comment the TS_STATE_DIR environment var, the container starts without issues.

Any idea what the problem is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions