Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Permission bits on the cursor-sandbox binary are missing the setuid bit.
-rwxr-xr-x 1 root root 2.8M Dec 18 22:41 /usr/share/cursor/resources/app/resources/helpers/cursor-sandbox*
Requires:
sudo chmod 4755 /usr/share/cursor/resources/app/resources/helpers/cursor-sandbox
WIthout setuid, Cursor is unable to start extensions like “Vim” and “Remote - SSH”. Instead, “Activating Extensions” is shown in the lower left corner of the window for a few seconds and nothing else happens. Remote files can’t be opened.
Steps to Reproduce
Install the latest Cursor via debian package on Ubuntu 24.10. Install the latest OS updates. This issue exists in versions as early as 2.2.17.
Expected Behavior
Cursor should be able to start extensions like “Vim” and “Remote - SSH”.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.0-8-generic
Additional Information
Ubuntu has implemented stricter controls around sandboxed applications. In my case, I had to make the following system config changes in addition to setting the setuid bit as described above:
sudo sysctl -w kernel.unprivileged_userns_clone=1
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
I filed a bug with Ubuntu, but they do not plan to fix this directly. Instead, they are working on a better user notification system (aa-notify) to allow users to make a poilcy exception for individual apps. This is great, but it will not fix the issue unless Cursor modifies the bits I mentioned above.
Does this stop you from using Cursor
Yes - Cursor is unusable