Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Cursor 3.24.9 Stable on Windows, connected over SSH to Ubuntu 24.04.5 LTS.
Client and remote server commit:
cd6d2a1f2e56e9841f0ed9c7c24542087b4e69b0
Remote Ubuntu configuration:
- kernel.apparmor_restrict_unprivileged_userns = 1
- cursor-sandbox-apparmor is not installed
- No Cursor-named files in /etc/apparmor.d/
- aa-status shows unprivileged_userns but no Cursor-named profile
- cursorsandbox is owned by ubuntu with permissions -rwxr-xr-x
Kernel logs show cursorsandbox transitioning to unprivileged_userns,
then AppArmor DENIED capability sys_admin.
Please provide the current supported AppArmor package and installation
instructions for remote SSH sandboxing with Cursor 3.24.9.
Steps to Reproduce
Use Cursor 3.24.9 Stable on Windows and connect through Remote SSH to an Ubuntu 24.04.5 LTS server.
On the remote server, leave the following Ubuntu security setting enabled:
text
kernel.apparmor_restrict_unprivileged_userns = 1
The remote server has no cursor-sandbox-apparmor package installed, and no Cursor-specific AppArmor profile appears in the loaded-profile check.
Ask Cursor Agent to execute a terminal command inside its sandbox on the remote server.
Observe that the terminal sandbox fails to start or execute the command.
In a separate SSH terminal, inspect the kernel logs:
bash
sudo journalctl -k --since “1 hour ago” --no-pager | grep -Ei ‘apparmor.*DENIED|cursorsandbox’
The logs show cursorsandbox transitioning from unconfined to the unprivileged_userns profile, followed by AppArmor DENIED entries for capability sys_admin.
Expected Behavior
Cursor should be able to initialize its remote terminal sandbox and execute supported commands without requiring AppArmor to be disabled or Ubuntu’s system-wide user-namespace restriction to be removed.
If a separate AppArmor package or profile is required for remote SSH sandboxing, Cursor should clearly identify the missing prerequisite and provide current installation instructions appropriate for the installed Cursor version.
Operating System
Windows 10/11
Version Information
Cursor IDE 3.24.9 (Stable, user setup)
OS: Windows_NT x64 10.0.26200
Commit: cd6d2a1f2e56e9841f0ed9c7c24542087b4e69b0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor