The Chown command is the cousin of the chmod command. The command is used to modify the owner of the file (' Chown '--change owner). It does not change however the read, write and execute permissions. Each user can use this command, which uses the following:chown owner.group filenameSuppose you want to copy something from the Windows partition (assuming you have a Windows partition), you hang the partition with the root user, in order to save time, you copy the file to the user directory/home/bob/. If you use Ls-l to view the copied files (the_file) you will get the following information:-rw-r--r--1 root root 2428 Nov 13:18 the_fileAs we know from our previous lesson, Root is the owner of the file. Therefore, only the root user has permission to write to the file (the permission to modify its contents). If you want to use the Bob user to manipulate the file, you need to use the Chown command under root to modify the file. Here's how:chown bob.bob the_fileThe premise of this example is that your Linux version will create a group for each user. Some systems create a common group of users for each user who uses the computer. On the network, group is created according to the needs of the organization. On your single-user PC, enter ls-l and see which system you have.
It can be seen that if you are working on a user's computer ' chown ' is absolutely essential. Original address: http://www.linux.org/threads/file-permisions-chown.4095/
Beginners level Course:file Permisions-chown