Ubuntu 24.04.4 LTS: "Run in sandbox" not available

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor Settings > Agents > Auto-run Mode has no “Run in sandbox” option as per Terminal | Cursor Docs

I have ran

curl -fsSL https://downloads.cursor.com/lab/enterprise/cursor-sandbox-apparmor_0.4.0_all.deb -o cursor-sandbox-apparmor.deb
sudo dpkg -i cursor-sandbox-apparmor.deb

Steps to Reproduce

Download latest cursor and app armour then go to Cursor Settings > Agents in Cursor IDE

Expected Behavior

Ability to select “run in sandbox” from the dropdown as per the docs

Operating System

Linux

Version Information

Ubuntu 24.04.4 LTS
Cursor 2.6.20
cursor-sandbox-apparmor (0.4.0)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue on Linux. The cursor-sandbox-apparmor 0.4.0 package only installs the profile for remote or SSH, but it doesn’t fix the local cursor_sandbox profile used on desktop. Because of that, preflight fails silently and the Run in sandbox option doesn’t show up.

Try this workaround. Add network unix, to the local AppArmor profile:

  1. Open /etc/apparmor.d/cursor-sandbox and add the line network unix, inside the profile block
  2. Reload the profile:
sudo apparmor_parser -r /etc/apparmor.d/cursor-sandbox
  1. Restart Cursor

If /etc/apparmor.d/cursor-sandbox doesn’t exist, check:

ls /etc/apparmor.d/ | grep cursor

More context and discussion in the main thread: Terminal Sandbox Issue Linux

The team is aware of the issue, and your report helps us prioritize. Let me know if the workaround helped.

A post was merged into an existing topic: Terminal Sandbox Issue Linux