Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EROFS is read-only error message in Ubuntu snap VSCode when using Apc Customize UI++ extension

I'm current trying to use the Apc Customize UI++ extension on VS Code. Using on Windows It worked perfectly, but on Ubuntu i faced this error:

Apc Extension failed: Error: EROFS: read-only file system, rename '/snap/code/151/usr/share/code/resources/app/out/bootstrap-amd.js' -> '/snap/code/151/usr/share/code/resources/app/out/bootstrap-amd.js.apc.extension.backup'

Screenshot of the error message

Could someone save me?

Sorry about bad english, it's not my primary language...

I've tried to Google it so far, but found no response. Looks like nobody uses this extension on Ubuntu.

like image 320
Maciel Suassuna Avatar asked Oct 31 '25 10:10

Maciel Suassuna


1 Answers

I had the same error, but running this command resolved it

sudo chown -R $USER:$USER /usr/share/code

This is a link to the github issue

like image 97
Mohammed Yasin Mulla Avatar answered Nov 03 '25 00:11

Mohammed Yasin Mulla