Linux/Arch: ‘Retry as Sudo…’ fails - missing /usr/lib/electron34/bin/cursor path

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When saving to a root directory using “Retry as Sudo…”, Cursor fails because it calls a non-existent path /usr/lib/electron34/bin/cursor.

Full error:
Failed to save 'theme.conf': Command failed: cd "/home/user"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; \"/usr/lib/electron34/bin/cursor\" --file-write \"/home/user/.config/Cursor/code-elevated-VgnvADAI\"" /bin/bash: line 1: /usr/lib/electron34/bin/cursor: No such file or directory

Steps to Reproduce

  1. Download Cursor from AUR with Yay
  2. Download polkit and set up pkexec daemon
  3. Attempt to save a file in a root folder
  4. Select “Retry as Sudo…”
  5. Enter correct root password

Expected Behavior

Cursor succesfully saves file with no errors

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.17.6-arch1-1

Additional Information

Workaround: creating a symbolic link at /usr/lib/electron34/bin/cursor pointing to /usr/share/cursor/cursor allows saving to succeed.

Does this stop you from using Cursor

No - Cursor works, but with this issue