Command for system V that changes the owner of a file.
chown [-R] newowner filenames
-R | Change the permission on files that are in the subdirectories of the directory that you are currently in. |
newowner | The alias/username of the new owner of the file. |
filenames | The file that you are changing the rights to. |
Give permissions as owner to user chope for the file file.txt.
chown chope file.txt
Give chown permissions to chope for all files in the work directory.
chown -R chope work