chown
Appearance
From Wikipedia, the free encyclopedia
Shell command for changing the owner of a file
For the surname, see Chown (surname).
| chown | |
|---|---|
| Example usage of chown command | |
| Original authors | Ken Thompson, Dennis Ritchie |
| Developer | AT&T Bell Laboratories |
| Release | November3, 1971;54 years ago(1971年11月03日) |
| Operating system | Unix and Unix-like, IBM i |
| Platform | Cross-platform |
| Type | Command |
chown /ˈtʃoʊ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.
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 ]- chgrp – Shell command for changing the group of a file
- chmod – Shell command for changing access permissions of a file
- List of POSIX commands
- takeown
References
[edit ]- ↑ "BSD Man page for chown, March 31, 1994". Archived from the original on March 4, 2016. Retrieved September 10, 2013.
- ↑
chown(1)– Linux User Manual – User Commands from Manned.org - ↑ "Native Win32 ports of some GNU utilities". unxutils.sourceforge.net. Archived from the original on 2006年02月09日. Retrieved 2025年08月09日.
- ↑ IBM. "IBM System i Version 7.2 Programming Qshell" (PDF). IBM . Archived (PDF) from the original on 2020年09月18日. Retrieved 2020年09月05日.
External links
[edit ]The Wikibook Guide to Unix has a page on the topic of: Commands
chown– Shell and Utilities Reference, The Single UNIX Specification , Version 5 from The Open Group- chown manual page
- The chown Command by The Linux Information Project (LINFO)
Retrieved from "https://en.wikipedia.org/w/index.php?title=Chown&oldid=1356038321"