Skip to content

OpenBSD should use /tmp/run/user for user dir #436

@sthen

Description

@sthen

OpenBSD now has some support for creating a runtime dir during login - it's not always going to be available but platformdirs should probably align to the path used for this, /tmp/run/user/$uid, as if available ownership and permissions should be set correctly.

https://github.com/openbsd/src/blob/dca435757bf3e16793666be5cd412e56d227894c/lib/libc/gen/login_cap.c#L581

(/var/run/user/$uid as currently used by platformdirs is very unlikely to be writable by the user).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions