change ownership of file or folder in Linux [Ubuntu]
if you are not logged in as root then type bellow command to change file or folder ownership:
first you need to login as root:
type su -> enter -> type pw
now you are logged in as root.
go to near that folder or file you want to change ownership and type:
chown -R username folder/file name or * to change all