Timeline for I need to run ~$ sudo nano in order write and save a file and can't do so with just the nano command. How do I change this?
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 7, 2022 at 21:13 | vote | accept | Peter | ||
| Feb 7, 2022 at 18:24 | answer | added | Chris Davies | timeline score: 0 | |
| Feb 7, 2022 at 18:18 | history | edited | Peter | CC BY-SA 4.0 |
added more details as to error recieved when editing a file with nano, added the output of ls -l where the files are
|
| Feb 7, 2022 at 18:11 | history | edited | Peter | CC BY-SA 4.0 |
added more details as to error recieved when editing a file with nano
|
| Feb 7, 2022 at 7:45 | comment | added | pLumo |
Check the permissions of the directory and the files. Edit your question and add output of ls -l.
|
|
| Feb 6, 2022 at 21:42 | comment | added | aviro | And just to clarify, you need to add those details to you question - edit your question and add those clarifications, you don't need to respond on the comment unless you have a question about my comment. | |
| Feb 6, 2022 at 21:40 | comment | added | aviro | Why do you need to run nano with sudo? Why can't you run it under your own account? What's the difference between running it inside a VM and runnning it on bare metal? What are the permissions of the files you want to edit? What are the errors you see? Please try to be as accurate as possible, like why do you think you need it, what happen exactly when you run the command, any output you see on the screen, and what you've already tried to exactly. | |
| S Feb 6, 2022 at 21:25 | review | First questions | |||
| Feb 7, 2022 at 21:17 | |||||
| S Feb 6, 2022 at 21:25 | history | asked | Peter | CC BY-SA 4.0 |