Chown

Chown (English: Change Owner ) is a command for user and rights management change in Unix-like systems to owner and group ownership of a file.

Use

The program is invoked as follows:

$ Chown [OPTION ] ... OWNER [: [ GROUP ] ] FILE ... Owner and group can be specified either by name or by ID. If after the colon is no group name, the group is set to the login group of the owner. If no user name before the colon, changes chown only the group and thus fulfills the same function as chgrp.

Commonly used options are:

Other operating systems

For Windows is available within Cygwin a ported version of chown available. As a Windows own command-line tool to change the owner of a file can be used xcacls the included in the Resource Kit.

185372
de