I need to open and edit this file, but it wont let me save.
/etc/modprobe.d/blacklist.conf
in properties, it's not letting me change permissions. I'm running LM MATE
How to I open this file with write permissions?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 3
- Posts: 196
- Joined: Tue Sep 04, 2018 2:13 pm
How to I open this file with write permissions?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: How to I open this file with write permissions?
Do it in the command line:freshtamatic wrote: ⤴Fri Sep 21, 2018 9:08 am I need to open and edit this file, but it wont let me save.
/etc/modprobe.d/blacklist.conf
in properties, it's not letting me change permissions. I'm running LM MATE
sudo nano /etc/modprobe.d/blacklist.conf
ctrl-s to save (Mint 19) and ctl-x to exit.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
-
- Level 3
- Posts: 196
- Joined: Tue Sep 04, 2018 2:13 pm
Re: How to I open this file with write permissions?
Thank you, that worked perfectly!
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: How to I open this file with write permissions?
You're most welcome.
PS:
xed admin:///etc/modprobe.d/blacklist.conf
That may be easier in Mint 19
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: How to I open this file with write permissions?
will work on any Linux Mint release, 19 and earlier.sudoedit /etc/modprobe.d/blacklist.conf
Caveat: The editor which will be used is nano. So in case nano is not your friend, because you cannot get used to ctrl-commands, well, get used to it nonetheless.
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Re: How to I open this file with write permissions?
For future reference: since you're running Mate, you can simply right click the file and select "Open as administrator."