I have been trying for a long time to change Blender's icon, but no matter what I do, I am not allowed to edit anything in /snap/blender-tpaw/3/
.
Here's what I tried:
- Editing the files from
nautilus
withoutsudo
. - Editing the files from
nautilus
withsudo
(sudo nautilus
in terminal ). - Using terminal commands such as
cp
orrm
withoutsudo
. - Using terminal commands with
sudo
(such assudo cp <source> /snap/blender-tpaw/3/
orsudo rm /snap/blender-tpaw/3/<filename.ext>
) - Doing everything above in a root terminal (using
sudo -i
)
In every case I get the following error:
cannot remove/copy '/snap/blender-tpaw/3/filename.ext': Read-only file system
where filename is the file and .ext is its extension.
This also applies to other snaps' files, not only Blender.
Am I doing something wrong here? Or is it just impossible to change those files? Although I don't think it is impossible because everything here from Ubuntu to Blender is open-source, so they have no reason to block us from modifying those files.
EDIT:
I used Main Menu (alacarte) to change the icon, but I still want to know why I cannot modify any snap file.
/etc/fstab
, eg:echo -e "/etc/ssl/certs\t/snap/core/current/etc/ssl/certs\tnone\tbind,nodev,ro\t0 2" | sudo tee -a /etc/fstab
-- source – sxc731 Feb 23 '19 at 17:17/etc/fstab
approach: addx-systemd.after=snapd.service
to the mount options, like the mount unit did, sosystemd
waits for thesnapd
mounts, and change the trailing2
to0
(it's a bind mount, after all). The final command would be:echo -e "/etc/ssl/certs\t/snap/core/current/etc/ssl/certs\tnone\tbind,nodev,ro,x-systemd.after=snapd.service\t0 0" | sudo tee -a /etc/fstab
– MestreLion Sep 19 '23 at 00:26