Команда chown

Command for system V that changes the owner of a file.

Синтаксис

chown [-R] newowner filenames

 

-RChange the permission on files that are in the subdirectories of the directory that you are currently in.
newownerThe alias/username of the new owner of the file.
filenamesThe file that you are changing the rights to.

Примеры

chown chope file.txt - Give permissions as owner to user chope.

Обратно к списку команд