⛬ Where does the bug appear (feature/product)?
[x] Cursor IDE
Describe the Bug
Cursor’s cursorsandbox processes can become orphaned, holding locks on project files and preventing builds. These processes persist even after fully quitting Cursor and cannot be terminated by the user without root privileges, forcing a reboot to recover.
The sandbox processes run in a Linux user namespace with UID 0 (root) inside, mapped to the regular user outside. Due to kernel security restrictions, signals cannot cross user namespace boundaries to namespace-privileged processes. This means kill -9
returns “Permission denied” even though ps shows the process owned by the current user.
Steps to Reproduce
- Run sandbox tasks in Cursor (e.g., build commands)
- Cancel tasks or experience a hang
- Quit Cursor completely
- Attempt to build the project outside Cursor - fails due to locked files
- Observe orphaned cursorsandbox processes via ps aux | grep cursorsandbox
- Attempt kill -9 - fails with permission denied
Expected Behavior
• Sandbox processes should be terminated when Cursor exits
• Cancelled tasks should release file locks immediately
• If user namespace isolation is used, the parent process should ensure cleanup before exit
Screenshots / Screen Recordings
N/A
Operating System
[x] Linux
Ubuntu 24.04.4 LTS, kernel 6.8.0-111-generic
Version Information
IDE:
Version: 3.2.21
Commit: 806df57ed3b6f1ee0175140d38039a38574ec720
Arch: x64
For AI issues: which model did you use?
N/A - not an AI issue
Additional Information
Workaround: sudo pkill -9 -f cursorsandbox
Does this stop you from using Cursor?
[x] Yes - Cursor is unusable