chown [Command]

Command chown

chown – command changes the owner or group ownership of a file.

Syntax

chown [cvfR] username:groupname files

Options

-c displays only files with the change in ownership.
-f suppress error messages.
-v displays detailed information about the changes owners.
-R recursively change ownership of files in all subdirectories.

Description

To make the user an owner of one or more files, type chown with user name, and then – the names of files. To change the group owner, add the user name after the point of a new group name.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.