Yum.conf is read only?
I have never been able to change the yum.cfg file from read-only to write. I have tried several solutions given me but could not get them to work. It would help if I got a very detailed solution, one that does not leave out even one mouse click or key stroke. I have no intention of buying another book just to find out that it is of no help. I bought one $50 book that turned out to be server, server, and more on servers. I am out of space on my book shelves. So, would some one please provide a detailed approach to solving the problem.:newbie:
|
You have to be root. It's a bad idea to make it writable by others.
su Enter root password edit file To change the permissions on any file to make them world writable. chmod o+w filename |
I did that all along the way, no help!:(
|
find the directory it is in and type:
Code:
ls -l *.conf if the su and p/w did not help, try adding a ' -' without the ' ' marks after su Code:
su - open up a terminal, su - over to root, then open your editor from the terminal example: Code:
ray@media:~$ su - you can replace the vi with gedit or putty, or what ever you use as your editor. i use vi/vim as they are the only editors i know from the CLI, and gedit when i am touching the box and in GUI mode. |
All times are GMT -5. The time now is 02:13 AM. |