Top Qs
Timeline
Chat
Perspective
Chown
Shell command for changing the owner of a file From Wikipedia, the free encyclopedia
Remove ads
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]
Remove ads
See also
- 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
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads