chown /ˈn/, short for change owner, is a shell command for changing the owning user of Unix-based file system files including special files such as directories.

chown
Original authorsKen Thompson,
Dennis Ritchie
DeveloperAT&T Bell Laboratories
Initial releaseNovember 3, 1971; 54 years ago (1971-11-03)
Operating systemUnix and Unix-like, IBM i
PlatformCross-platform
TypeCommand

The ownership of a file may only be altered by a super-user (such as via sudo). A regular user cannot give away their ownership of a file.[1]

The version of chown bundled in GNU coreutils was written by David MacKenzie and Jim Meyering.[2]

The command is available for Windows via UnxUtils.[3] The command was ported to IBM i.[4]

See also

edit

References

edit
  1. "BSD Man page for chown, March 31, 1994". Archived from the original on March 4, 2016. Retrieved September 10, 2013.
  2. chown(1)  Linux User Manual – User Commands
  3. "Native Win32 ports of some GNU utilities". unxutils.sourceforge.net. Archived from the original on 2006-02-09. Retrieved 2025-08-09.
  4. IBM. "IBM System i Version 7.2 Programming Qshell" (PDF). IBM. Archived (PDF) from the original on 2020-09-18. Retrieved 2020-09-05.
edit