September 19, 2011 | Commands | No Comments|
chown – command changes the owner or group ownership of a file.
chown [cvfR] username:groupname files
-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.
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.