Skip to content

mkdir_at on Unix is complicated #30

Open
@rbtcollins

Description

See the code but in short we're working around race conditions such as privileged access target control via symlinks; while there aren't any TOCTOU's present, there is the possibility for creating a directory in an arbitrary path (which mkdir itself has and there is resistance to fixing in the Linux kernel community).

At this point there doesn't seem to be a better path, but should one arise we should use it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions