vscode-custom-css: Unable to make extention work in Cursor IDE

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?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 23 (5 by maintainers)

Most upvoted comments

Unfortunately “Full Disk Access” is a macOS-specific setting. It does not apply to AppImages on Linux.

Add cursor to “full disk access” under “Privacy and security” fixes it for me.

This is a windows feature or a distro specific setting?

I’m having the same issue as @mrjxtr (Linux, running Cursor as an AppImage) and have been unable to make any of the suggestions offered in this thread work. Happy to provide details, but I am commenting here to keep the issue open.

I have submitted PR: #248 It should be the wrong file to modify, I tried again in my cursor and it works.

@keyding Hopefully they will merge this… But if I want to test this, I just need to create a fork, add the lines you added, build the app and it should work?

Yes, I’ve tested it and it’s fine. I’m using macOS.

I have submitted PR: https://github.com/be5invis/vscode-custom-css/pull/248

It should be the wrong file to modify, I tried again in my cursor and it works.

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. 🤷🏻