editing read-only files in single user mode
How do you make a file read/write in single user mode? I'm logged in as su and I'm trying to comment out a line in rc.config using vi and it keeps telling me rc.config is read only.
help! SUSE 7.0 ent running email server 3 will not load postfix service |
under root
do a chmod to change the permission on the file chmod a+w (a[all users] +[are added] w[the permission to write]) or you can chown user_name:user_name the file to user_name so that the file will belong to user_name and user_name will be able to write in it |
I strongly suggest a
man chmod and a man chown =) |
re chmod
I tried chmod a+w rc.config and the screen says "Changing permissions of 'rc.config': read-only file system
It still wont write to the file. HELP! |
All times are GMT -5. The time now is 05:06 AM. |