3

How to Change Ownership of a file on Linux

view full story
linux-howto

http://linuxers.org – File ownership is a way to manage files of different users and share files between users of same groups. Every file in linux is managed by a specific user and a group. The chmod command helps to define file permissions separately for user, group and others. Using chown command you can change the ownership of a file and similarly using chgrp you can change the group owner for that file. [chia]$ ls -l -rwxrwxr-x 1 chia developers 1592 Jun 11 18:16 file1 -rwxrwxr-x 1 chia developers 2071 Jun 11 18:17 file2 -rwxrwxr-x 1 chia (General)