Can’t edit a file in Linux?
Check its properties and see if the Ownership is yours. I had trouble editing a file that said it was owned by root. The fix I went with was
su - chown username:usergroup somefile
More details are given here: http://www.tuxfiles.org/linuxhelp/fileowner.html
Advertisements
Leave a Comment