You Asked: Why We Use Chown Command in Linux?
Contents

Why is chown command used?

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. … A user cannot give away ownership of a file, even when the user owns it. Similarly, only a member of a group can change a file’s group ID to that group.

How does chown command work in Linux?

chown command in Linux with Examples

  1. Read: This permission allows the user to read files and in directories, it lets the user read directories and subdirectories stores in it.
  2. Write: This permission allows a user to modify and delete a file. …
  3. Execute: The write permission on a file allows it to get executed.
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest