The command chown /ˈtʃoʊn/, an abbreviation of change owner, is used on Unix and Unix-like operating systems to change the owner of file system files, directories. Unprivileged (regular) users who wish to change the group membership of a file that they own may use chgrp.
What is Chown used for in Linux?
The chown command changes user ownership of a file, directory, or link in Linux. Every file is associated with an owning user or group. It is critical to configure file and folder permissions properly.
How use Chown command in Linux?
To change both the owner and the group of a file use the chown command followed by the new owner and group separated by a colon ( : ) with no intervening spaces and the target file.