Skip to content

Can’t edit a file in Linux?

August 4, 2012

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

From → Linux

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: