(redirected from Chown (Unix))


(CHange OWNership) A Unix command that allows the root user to change the owner and group assigned to files, directories and links. The following example changes ownership of fileABC and dirXYZ to mary.

      chown mary fileABC dirXYZ

Chown can also function like the chgrp command and change the group and owner at the same time. The following example changes owner to mary and the group to mygroup. See ls, chgrp and chmod.

    chown mary:mygroup fileABC dirXYZ
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.