How to change ownership of a file
In our previous posts we saw how to change the permission on a file for different users. Now lets see how to change the ownership of a file. To change the ownership /group ownership of file or a directory we use chown command. Syntax for chown command is