LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-06-2018, 04:11 PM   #1
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Rep: Reputation: Disabled
Emacs write privilege


How do I get "Write" privilege to modify xor.conf in Emacs using root terminal in Ubuntu rescue mode?

I'm not able to modify the archive. I'm only getting "read-only-mode"
 
Old 07-06-2018, 05:00 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Code:
 chmod +w xor.conf
?
 
Old 07-06-2018, 05:08 PM   #3
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
root:~#chmod +w /etc/X11/xorg.conf:
"chmod:altering permission of '/etc/X11/xorg.conf': Archive sistem only for read"( my translation of the error message)

Last edited by Rinkon; 07-06-2018 at 05:11 PM.
 
Old 07-06-2018, 06:32 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
If you are in rescue mode, the filesystem is usually mounted read-only. You need to run
Code:
mount -o remount,rw /
 
1 members found this post helpful.
Old 07-06-2018, 06:38 PM   #5
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
It works!

Quote:
Originally Posted by rknichols View Post
If you are in rescue mode, the filesystem is usually mounted read-only. You need to run
Code:
mount -o remount,rw /
It works!!

Tank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
two user need write privilege on specific Directory - Joy Stick Linux - Newbie 6 11-26-2017 02:24 PM
How to write a cutsom emacs command? wearetheborg Programming 2 10-02-2012 12:43 PM
Privilege Escalation - Getting 'root' privilege Rahil Parikh Linux - Security 2 12-02-2010 01:04 AM
Can you use EMACS to write text even a book? paddy's not St.Pat Linux - Newbie 14 11-08-2009 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration