Shows read-only file system error upon install.
AsadNoman opened this issue · comments
Apc Extension failed: Error: EROFS: read-only file system, rename '/snap/code/150/usr/share/code/resources/app/out/bootstrap-amd.js' -> '/snap/code/150/usr/share/code/resources/app/out/bootstrap-amd.js.apc.extension.backup'
Same issue
Same issue here.
its worked for me in cursor:
-
Open a terminal and navigate to the directory where you downloaded the AppImage.
-
Make the AppImage executable:
chmod +x cursor-0.40.4x86_64.AppImage
-
Create a new directory to extract the content:
mkdir ~/cursor-extracted
-
Extract the contents of the AppImage:
./cursor-0.40.4x86_64.AppImage --appimage-extract
-
Move the extracted content to the new directory:
mv squashfs-root/* ~/cursor-extracted/
-
Create a startup script for Cursor:
cat << EOF > ~/run-cursor.sh #!/bin/bash export TMPDIR=\$HOME/cursor-temp mkdir -p \$TMPDIR cd ~/cursor-extracted ./AppRun "\$@" EOF
This script sets up a custom temporary directory to avoid permission issues.
-
Make the script executable:
chmod +x ~/run-cursor.sh
-
Run Cursor using the new script:
~/run-cursor.sh