Create correct AppArmor configuration for nightly curror

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

See the attached screenshot. Cursor complains about the wrong configuration.

Steps to Reproduce

  1. Install nightly
  2. Start nightly

Expected Behavior

I should not see errors and should not create configurations manually.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 2.7.0-pre.11.patch.0
VSCode Version: 1.105.1
Commit: 1c54e8a9e62a5549bb75ba1fe9131ecc0b362f19
Date: 2026-03-02T11:36:55.695Z
Build Type: Nightly
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Linux x64 6.17.0-14-generic

Does this stop you from using Cursor

Yes - Cursor is unusable

It would be nice if I will be able to CTRL+V to paste screenshots during topic creation. Also it would be nice if I could add multiple screenshots to describe problem better.

The solution (But I am not sure how it will be secure)

Hey, thanks for the report. This is a known issue. The AppArmor profile shipped with Cursor is missing a few rules like network, capability net_admin, and others. This affects both stable and nightly builds on Linux when AppArmor is enabled and you’re on kernel 6.2+.

A fix was recently shipped on the stable side. Your nightly build (2.7.0-pre.11 from March 2) likely doesn’t include it yet. Try updating to the latest nightly. The corrected profile should be in newer builds.

If you’re still seeing the issue after updating, the workaround you found is the right approach. Add network unix dgram, and capability net_admin, to /etc/apparmor.d/cursor-nightly-sandbox, then reload with sudo systemctl reload apparmor.

If you want a more complete profile, you can also add abi <abi/4.0>, and include <tunables/global> at the top, plus capability dac_override,. This thread has the full suggested profile: AppArmor cursor-sandbox profile incomplete on Linux

One heads-up: Cursor updates may overwrite /etc/apparmor.d/cursor-nightly-sandbox, so you might need to reapply the fix after updates until the corrected profile ships in nightly.

Let me know if the latest nightly fixes it.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.