When working on a Rust project, Cursor seems to set some env variables to build things in: /tmp/cursor-sandbox-cache
Obviously that breaks when there are several users using the machine: the first one will get to create the directory, and others will get “permission denied” errors.
The LLM then goes on a loop to try to re-setup the sandbox, which it won’t have access to.
Steps to Reproduce
Ask for cargo check in a Rust project with two separate users of the machine
Hey, thanks for the report. That makes sense. Using a shared path like /tmp/cursor-sandbox-cache without a per-user suffix will break on any multi-user machine.