I am using Ubuntu 16.04 VM image.I want to edit a file which is owned by root.I tried using sudo chown as well chmod to change the permissions.It was denied.I also tried mount and remount, gksu nautilus, sudo gedit,sudo nano as well as vim editor.Nothing worked.The file read and modify permission can be done only by root owner.The file was installed using snap.Please help me out how to edit the file.
1 Answer
Installed by snap i.e. a file contained in /snap/<snapname>/<revision>/
somewhere? Snaps are squashfs images, which by definition are read-only. No amount of permissions will change that, I'm afraid.
-
I am trying to edit the index.html file which is installed by the following server deployment. docs.thinger.io/deployment File is located at snap/thinger-maker-server/19/console/index.html Apr 3, 2018 at 14:25
/var/snap/thinger-maker-server/common/
. (or bettersudo service snap.thinger-maker-server.thingerd status
should tell you where the config file is)