Consider returning /private/tmp
instead of /tmp
on macOS with std::env::temp_dir()
#99608
Labels
O-macos
Operating system: macOS
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
The first is a regular directory, the second is a symlink to the first. This can lead to software failing in strange and unexpected ways (especially during testing, with the tempfile crate or similar) if symlinks are forbidden, e.g. I recently encountered the case with SQLite
Since
/tmp -> /private/tmp
software that was already working correctly should not start to fail unexpectedly. Software that was failing/had to workaround this will start working correctly.The text was updated successfully, but these errors were encountered: