141k views
3 votes
You work as the Network Administrator for Perfect solutions Inc. The company has a Linux- based Network. You are a root user on the Red Hat operating system. You want to grant ownership of the file foofile to a user John. Which of the following commands should you use to accomplish this task?

User Iruediger
by
5.9k points

1 Answer

0 votes

Answer:

chown command

Step-by-step explanation:

Chown command is used to change the owner and group of files. The person who crates the file system object is the owner. While the set of users that that share the same access permissions for the object is called group

To change he owner we use the following syntax:

chown [options] new_owner object(s)

In the command object is the name of the target directory, link or directory, new_owner is the user name of the new owner.

User Santuxus
by
6.2k points