LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-15-2005, 10:48 AM   #1
Virp00
Member
 
Registered: Jan 2005
Posts: 81

Rep: Reputation: 15
How do I edit .ini files?


I seem to have another basic question. Every time I need to edit an .ini or config file to change the settings of an application, the text editor always says "(read-only)" and I can't change any values of the document. How does one change these settings?
 
Old 01-15-2005, 10:54 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You don't tell which user tries to edit these files. Most of the config files need root privilages in order to edit them.

Some config files have read only, even if you are root. If you are using vi/vim: use w! instead of w. Other editors must have this feature too.

If it still does not work: change permission of the file to include write privilages, edit and change the eprmissions back to what it was.

Hope this helps.
 
  


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
How to Edit boot.ini for linux AS 3? sathyguy Linux - Enterprise 3 11-19-2005 01:36 AM
Newbie: How to read/write conf/ini files? neo_in_matrix Programming 2 02-22-2005 06:26 PM
how do i edit files???? zexter Mandriva 9 11-06-2004 10:02 AM
SIGIOT IOT trap after editing ini files iCoach Linux - Games 0 09-07-2004 05:38 PM
edit windows boot ini to allow booting to lilo V_LESTAT Linux - Newbie 2 01-15-2004 06:58 PM

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

All times are GMT -5. The time now is 10:03 PM.

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