mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
3b71d0c834
Many tools call `mkdir -p`, which calls the `mkdir` syscall. Previously, we would require write access to `mkdir` even in the case where a directory already existed. This meant that `mkdir -p` would ask for permission even when it wouldn't modify the FS state. While this technically does leak information about whether directories exist, this was already an intentional design decision (i.e. we do not trap `stat` for performance reasons). Release Notes: - N/A