Changing ownership/Permission of Files/Folders in Linux

A common problem in using Linux is restriction. Some operations are restricted for users by root.But if it is needed to do that operation like editing what to do? Today I have faced same kind of problem. I use /var/www/ as localhost for server based development. I can’t get working jobs (already done) copied from another folder/device because of rescriction by addministrator. If I open that file as administrator ,it works. But It is impossible to open a large number of files by opening as administrator when in server based job like web development. So, I must make /var/www/ accessible for reading and writing for me.

To do this here is the command which must be executed on terminal.


Precautions: Linux is case sensitive.mind it.

Thanking you….