Файли
openidea/crates/ide-run
l0ng-aiтаrohitdanda c4b2d24d7e fix(core): keep the IDE's temporary files in a folder only this user can open (#8378)
Several features wrote into fixed or guessable names directly under the system
temporary folder, which every user shares on Linux: the terminal's shell
integration scripts, Gradle init scripts, Java argument files, binaries and
classes of single-file runs, jdtls' temporary folder, the TypeScript watch
scratch folder, Claude and Copilot session files, the Android emulator and
Xcode build logs, CPU profiles, `devicectl` output and the throwaway Docker
config. Another local user could create those folders first and have the IDE
user run their code, or read and overwrite the files.

They now all live under `<temp>/openidea-<uid>` (`ide_core::private_temp`),
created owner-only; a name that belongs to someone else or is a symbolic link
is never used, and a folder of a random name takes its place for that run.

Co-authored-by: rohitdanda <[email protected]>
2026-12-06 20:29:20 +08:00
..
2026-10-22 18:55:10 +08:00