Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to make extention work in Cursor IDE #245

Open
mrjxtr opened this issue Nov 20, 2024 · 1 comment
Open

Unable to make extention work in Cursor IDE #245

mrjxtr opened this issue Nov 20, 2024 · 1 comment

Comments

@mrjxtr
Copy link

mrjxtr commented Nov 20, 2024

image

Additional Info:

  1. I have a dual boot system with Windows and vanilla Arch.
  2. I was able to make this work seamlessly on Windows.
  3. I initially encountered the same issue when using this with VScode but was fixed easily with:
    • sudo chown -R $(whoami) "$(which code)"
    • sudo chown -R $(whoami) /opt/visual-studio-code
    • sudo chown -R $(whoami) /usr/bin/code
  4. I used yay -S cursor-bin to install cursor.

What I tried:

  1. I tried to do the same with cursor, using which cursor and whereis cursor to locate cursor directory.
  2. I also did sudo chown -R $(whoami) /opt/cursor-bin

I understand that Cursor is an AppImage for linux and maybe that is the issue? but is there a fix?

@joshmfrankel
Copy link

I've run into this same issue as well. What I've tried (that has yet to be successful):

  1. Run app image with sudo sudo ./cursor-0.xxxxx.AppImage --no-sandbox
  2. Run with custom user directory ./cursor-0.xxxxx.AppImage --user-data-dir=~/Applications/Cursor since the directory will have full permission control
  3. Extract AppImage files to a writable location (I couldn't get this to run successfully)
./cursor-0.xxxxx.AppImage --appimage-extract
./squashfs-root/AppRun

All of the above encounter the same issue as the screenshot above. I believe the problem is that the mounted file system is marked as ro read-only.

I tried mount | grep cursor and found the directory mentioned in the error message as read-only.

❯ mount | grep cursor
~/cursor-0.xxxxx.AppImage on /tmp/.mount_cursorl9krmK type fuse.cursor-0.43.6x86_64.AppImage (ro,nosuid,nodev,relatime,user_id=0,group_id=0)

Tried to remount it with sudo mount -o remount,rw ~/cursor-0.xxxxx.AppImage and it changes to read-write. However, after restarting Cursor to enact the change, it reverts to read-only. 🤷🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants