0

What I want to do is to replace the background music file (bgm.ogg) in the .config folder of RetroArch with a custom one.

The issue is, I can't write any files in the directory that bgm.ogg is in; having installed RetroArch using snap, the filepath for me is /snap/retroarch/1396/.config/assets/sounds/bgm.ogg.

The errors I receive all mention that I'm trying to write to a read-only filesystem (details below). From what I've checked, the read-only filesystem is the /1396/ folder; meaning I don't get these errors in the /retroarch/ folder or higher.

Is there a way I can write a file in the subfolders of /1396/?

Also, why is /1396/ a filesystem?


Here is the error I get when trying to copy a new bgm.ogg file:

$cp /path/to/new/bgm.ogg /snap/retroarch/1396/.config/assets/sounds/

cp: cannot create regular file '/snap/retroarch/1396/.config/assets/sounds/bgm.ogg: Read-only file system


Here is the message when trying to change the permissions of the /1396/ folder (filesystem), nothing changes after this:

$chmod 777 1396

chmod: changing permissions of '1396/': Read-only file system


Here is another attempt of remounting /1396/ as a read-write filesystem:

$sudo mount -o remount,rw '/snap/retroarch/1396/'

mount: /snap/retroarch/1396: cannot remount /dev/loop36 read-write, is write-protected.

0 Answers0