LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I edit .ini files? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-edit-ini-files-278089/)

Virp00 01-15-2005 10:48 AM

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?

druuna 01-15-2005 10:54 AM

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.


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