Chown Command?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The chown command changes the user and/or group ownership of a specified file or directory. It is used to give different users access to files and directories. The basic syntax of the command is as follows:
chown [OPTIONS] USER[:GROUP] FILE…
For example, to change the ownership of the file foo.txt to the user jane and the group dev, you would use the following command:
chown jane:dev foo.txt