Everything get [Permission Denied] Ubuntu Core
I can't save anything on my raspberry running ubuntu core. I just installed the new version and NOTHING saves.
Not even creating a new file on my home directory. Even as root
!
The only workaround that I found so far (I tried many) is to install the docker snap, mount my working directory as a volume of a container and run any editor from inside the container.
Why is this happening?
EDIT: I'm using the ubuntu core for raspberry pi from the ubuntu website. I followed the exact steps on that page for the installation.
The raspberry is the 3 model B+
permissions ubuntu-core raspberrypi
add a comment |
I can't save anything on my raspberry running ubuntu core. I just installed the new version and NOTHING saves.
Not even creating a new file on my home directory. Even as root
!
The only workaround that I found so far (I tried many) is to install the docker snap, mount my working directory as a volume of a container and run any editor from inside the container.
Why is this happening?
EDIT: I'm using the ubuntu core for raspberry pi from the ubuntu website. I followed the exact steps on that page for the installation.
The raspberry is the 3 model B+
permissions ubuntu-core raspberrypi
add a comment |
I can't save anything on my raspberry running ubuntu core. I just installed the new version and NOTHING saves.
Not even creating a new file on my home directory. Even as root
!
The only workaround that I found so far (I tried many) is to install the docker snap, mount my working directory as a volume of a container and run any editor from inside the container.
Why is this happening?
EDIT: I'm using the ubuntu core for raspberry pi from the ubuntu website. I followed the exact steps on that page for the installation.
The raspberry is the 3 model B+
permissions ubuntu-core raspberrypi
I can't save anything on my raspberry running ubuntu core. I just installed the new version and NOTHING saves.
Not even creating a new file on my home directory. Even as root
!
The only workaround that I found so far (I tried many) is to install the docker snap, mount my working directory as a volume of a container and run any editor from inside the container.
Why is this happening?
EDIT: I'm using the ubuntu core for raspberry pi from the ubuntu website. I followed the exact steps on that page for the installation.
The raspberry is the 3 model B+
permissions ubuntu-core raspberrypi
permissions ubuntu-core raspberrypi
edited Jan 1 at 4:10
Luiz Ferraz
asked Dec 31 '18 at 12:57
Luiz FerrazLuiz Ferraz
33
33
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
This should have been a comment but my reputation is too low.
I have just done the same thing, e.g. Ubuntu Core 16 on a Raspberry Pi 3 and it worked from the start.
I followed the instructions on
Create installation medias for Ubuntu Core
Raspberry Pi 2 or 3
So when you log on with ssh does it display the expected welcome screen?
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-1102-raspi2 armv7l) *
Ubuntu Core: https://www.ubuntu.com/core * Community:
https://forum.snapcraft.io * Snaps: https://snapcraft.io
And if you touch a new file:
igor-lopez@localhost:~$ touch test
igor-lopez@localhost:~$ ls -lart test
-rw-rw-r-- 1 igor-lopez igor-lopez 0 Jan 6 08:55 test
What is the response?
To get nano working on Ubuntu Core 16 I had to install the classic snap
$ sudo snap install classic --edge --devmode
where you have to adapt for Ubuntu Core 18 as you wrote in the comment below.
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Alsoecho "Something" > test
works butecho "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied
– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:sudo snap install classic --edge --devmode
and then running it after starting withsudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.
– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man
– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
add a comment |
Have you installed or did you boot the demo?
If you have installed, delete ubuntu and and any partitions on your HDD. Run the demo and make new partitions like so:https://www.linuxliteos.com/forums/installing-linux-lite/partition-alignment-prompt-at-install/
Install ubuntu and make sure you have it set to NO PASSWORD
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105821%2feverything-get-permission-denied-ubuntu-core%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This should have been a comment but my reputation is too low.
I have just done the same thing, e.g. Ubuntu Core 16 on a Raspberry Pi 3 and it worked from the start.
I followed the instructions on
Create installation medias for Ubuntu Core
Raspberry Pi 2 or 3
So when you log on with ssh does it display the expected welcome screen?
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-1102-raspi2 armv7l) *
Ubuntu Core: https://www.ubuntu.com/core * Community:
https://forum.snapcraft.io * Snaps: https://snapcraft.io
And if you touch a new file:
igor-lopez@localhost:~$ touch test
igor-lopez@localhost:~$ ls -lart test
-rw-rw-r-- 1 igor-lopez igor-lopez 0 Jan 6 08:55 test
What is the response?
To get nano working on Ubuntu Core 16 I had to install the classic snap
$ sudo snap install classic --edge --devmode
where you have to adapt for Ubuntu Core 18 as you wrote in the comment below.
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Alsoecho "Something" > test
works butecho "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied
– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:sudo snap install classic --edge --devmode
and then running it after starting withsudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.
– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man
– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
add a comment |
This should have been a comment but my reputation is too low.
I have just done the same thing, e.g. Ubuntu Core 16 on a Raspberry Pi 3 and it worked from the start.
I followed the instructions on
Create installation medias for Ubuntu Core
Raspberry Pi 2 or 3
So when you log on with ssh does it display the expected welcome screen?
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-1102-raspi2 armv7l) *
Ubuntu Core: https://www.ubuntu.com/core * Community:
https://forum.snapcraft.io * Snaps: https://snapcraft.io
And if you touch a new file:
igor-lopez@localhost:~$ touch test
igor-lopez@localhost:~$ ls -lart test
-rw-rw-r-- 1 igor-lopez igor-lopez 0 Jan 6 08:55 test
What is the response?
To get nano working on Ubuntu Core 16 I had to install the classic snap
$ sudo snap install classic --edge --devmode
where you have to adapt for Ubuntu Core 18 as you wrote in the comment below.
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Alsoecho "Something" > test
works butecho "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied
– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:sudo snap install classic --edge --devmode
and then running it after starting withsudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.
– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man
– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
add a comment |
This should have been a comment but my reputation is too low.
I have just done the same thing, e.g. Ubuntu Core 16 on a Raspberry Pi 3 and it worked from the start.
I followed the instructions on
Create installation medias for Ubuntu Core
Raspberry Pi 2 or 3
So when you log on with ssh does it display the expected welcome screen?
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-1102-raspi2 armv7l) *
Ubuntu Core: https://www.ubuntu.com/core * Community:
https://forum.snapcraft.io * Snaps: https://snapcraft.io
And if you touch a new file:
igor-lopez@localhost:~$ touch test
igor-lopez@localhost:~$ ls -lart test
-rw-rw-r-- 1 igor-lopez igor-lopez 0 Jan 6 08:55 test
What is the response?
To get nano working on Ubuntu Core 16 I had to install the classic snap
$ sudo snap install classic --edge --devmode
where you have to adapt for Ubuntu Core 18 as you wrote in the comment below.
This should have been a comment but my reputation is too low.
I have just done the same thing, e.g. Ubuntu Core 16 on a Raspberry Pi 3 and it worked from the start.
I followed the instructions on
Create installation medias for Ubuntu Core
Raspberry Pi 2 or 3
So when you log on with ssh does it display the expected welcome screen?
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-1102-raspi2 armv7l) *
Ubuntu Core: https://www.ubuntu.com/core * Community:
https://forum.snapcraft.io * Snaps: https://snapcraft.io
And if you touch a new file:
igor-lopez@localhost:~$ touch test
igor-lopez@localhost:~$ ls -lart test
-rw-rw-r-- 1 igor-lopez igor-lopez 0 Jan 6 08:55 test
What is the response?
To get nano working on Ubuntu Core 16 I had to install the classic snap
$ sudo snap install classic --edge --devmode
where you have to adapt for Ubuntu Core 18 as you wrote in the comment below.
edited Jan 6 at 21:15
answered Jan 6 at 8:58
IgorLopezIgorLopez
213
213
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Alsoecho "Something" > test
works butecho "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied
– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:sudo snap install classic --edge --devmode
and then running it after starting withsudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.
– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man
– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
add a comment |
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Alsoecho "Something" > test
works butecho "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied
– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:sudo snap install classic --edge --devmode
and then running it after starting withsudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.
– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man
– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
The welcome message you pasted here is for Ubuntu Core 16. That one works. My problem started on Ubuntu Core 18, some commands touch and ls work for some reason. But vi/vim and nano doesn't.
– Luiz Ferraz
Jan 6 at 18:25
Also
echo "Something" > test
works but echo "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied– Luiz Ferraz
Jan 6 at 18:25
Also
echo "Something" > test
works but echo "Something" >> test
don't. So I do have access to the files, but any editor I try cannot save and shows permission denied– Luiz Ferraz
Jan 6 at 18:25
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:
sudo snap install classic --edge --devmode
and then running it after starting with sudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.– IgorLopez
Jan 6 at 18:44
Big oops, I actually thought I had Ubuntu Core 18 but I see now it is 16. Anyway I only have nano working under "sudo classic", e.g. I first installed:
sudo snap install classic --edge --devmode
and then running it after starting with sudo classic
. I the edit files in my home directory before exiting the classic mode and copy the edited file to proper location.– IgorLopez
Jan 6 at 18:44
And now I found my mistake, it's the classic snap. The
--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man– Luiz Ferraz
Jan 6 at 19:07
And now I found my mistake, it's the classic snap. The
--edge
option goes to the default edge channel, which is 16.04, I need to use the channel 18/edge of classic on Core 18. Thanks man– Luiz Ferraz
Jan 6 at 19:07
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
Just so things don't get messy here, would you mind adding that to you answer or sending another one for me to accept? So anyone that gets here don't have to check the comments.
– Luiz Ferraz
Jan 6 at 19:09
add a comment |
Have you installed or did you boot the demo?
If you have installed, delete ubuntu and and any partitions on your HDD. Run the demo and make new partitions like so:https://www.linuxliteos.com/forums/installing-linux-lite/partition-alignment-prompt-at-install/
Install ubuntu and make sure you have it set to NO PASSWORD
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
add a comment |
Have you installed or did you boot the demo?
If you have installed, delete ubuntu and and any partitions on your HDD. Run the demo and make new partitions like so:https://www.linuxliteos.com/forums/installing-linux-lite/partition-alignment-prompt-at-install/
Install ubuntu and make sure you have it set to NO PASSWORD
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
add a comment |
Have you installed or did you boot the demo?
If you have installed, delete ubuntu and and any partitions on your HDD. Run the demo and make new partitions like so:https://www.linuxliteos.com/forums/installing-linux-lite/partition-alignment-prompt-at-install/
Install ubuntu and make sure you have it set to NO PASSWORD
Have you installed or did you boot the demo?
If you have installed, delete ubuntu and and any partitions on your HDD. Run the demo and make new partitions like so:https://www.linuxliteos.com/forums/installing-linux-lite/partition-alignment-prompt-at-install/
Install ubuntu and make sure you have it set to NO PASSWORD
answered Dec 31 '18 at 20:21
Isaac WorleyIsaac Worley
11
11
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
add a comment |
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
Is there a demo mode of the ubuntu core? I followed the installation steps for my raspberry pi 3 on the ubuntu official site. I normally do what you suggested on ubuntu desktop installation
– Luiz Ferraz
Dec 31 '18 at 20:29
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
There should be if you haven't installed it yet. It should be like this i.stack.imgur.com/GtoGV.jpg
– Isaac Worley
Dec 31 '18 at 20:49
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
That screen is not present in the installation of ubuntu core. I added the link to the ubuntu website page that I used to install it. I've tried reinstalling it more than once.
– Luiz Ferraz
Jan 1 at 4:13
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105821%2feverything-get-permission-denied-ubuntu-core%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown