Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkdir_at on Unix is complicated #30

Open
rbtcollins opened this issue Nov 22, 2022 · 0 comments
Open

mkdir_at on Unix is complicated #30

rbtcollins opened this issue Nov 22, 2022 · 0 comments

Comments

@rbtcollins
Copy link
Owner

rbtcollins commented Nov 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant