How to Edit a write protected read only file

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
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.
16.04 permissions gedit snap
 |Â
show 2 more comments
up vote
0
down vote
favorite
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.
16.04 permissions gedit snap
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is/var/snap/thinger-maker-server/common/. (or bettersudo service snap.thinger-maker-server.thingerd statusshould tell you where the config file is)
â Rinzwind
Apr 3 at 14:38
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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.
16.04 permissions gedit snap
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.
16.04 permissions gedit snap
16.04 permissions gedit snap
asked Apr 3 at 14:07
Samuel John
1
1
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is/var/snap/thinger-maker-server/common/. (or bettersudo service snap.thinger-maker-server.thingerd statusshould tell you where the config file is)
â Rinzwind
Apr 3 at 14:38
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12
 |Â
show 2 more comments
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is/var/snap/thinger-maker-server/common/. (or bettersudo service snap.thinger-maker-server.thingerd statusshould tell you where the config file is)
â Rinzwind
Apr 3 at 14:38
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is
/var/snap/thinger-maker-server/common/. (or better sudo service snap.thinger-maker-server.thingerd status should tell you where the config file is)â Rinzwind
Apr 3 at 14:38
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is
/var/snap/thinger-maker-server/common/. (or better sudo service snap.thinger-maker-server.thingerd status should tell you where the config file is)â Rinzwind
Apr 3 at 14:38
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
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
â Samuel John
Apr 3 at 14:25
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
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
â Samuel John
Apr 3 at 14:25
add a comment |Â
up vote
1
down vote
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
â Samuel John
Apr 3 at 14:25
add a comment |Â
up vote
1
down vote
up vote
1
down vote
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.
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.
answered Apr 3 at 14:19
Kyle
3,9081219
3,9081219
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
â Samuel John
Apr 3 at 14:25
add a comment |Â
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
â Samuel John
Apr 3 at 14:25
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
â Samuel John
Apr 3 at 14:25
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
â Samuel John
Apr 3 at 14:25
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021633%2fhow-to-edit-a-write-protected-read-only-file%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
i tried it now.it cannot save the file.it gives can't open file for writing
â Samuel John
Apr 3 at 14:31
If you want to edit a file inside a snap you need to rebuild it but the config for "thinger" is not inside a snap. It is
/var/snap/thinger-maker-server/common/. (or bettersudo service snap.thinger-maker-server.thingerd statusshould tell you where the config file is)â Rinzwind
Apr 3 at 14:38
How to edit the snap and rebuild it?I am new to it, so please if you can guide me, it would be great.I want to edit the index.html file located at snap/thinger-maker-server/19/console/index.html
â Samuel John
Apr 3 at 14:41
Why? The config for thinger is not inside the snap but is in the directory posted before. By the way: it is open source but not free thinger.io/pricing So you probably can't edit that file.
â Rinzwind
Apr 3 at 15:06
pricing is for people who want to use thinger.io's server.They have no pricing for people using their own server.So as per you is it not possible to edit the index.html file?
â Samuel John
Apr 3 at 15:12