How do you change file permissions and ownership in Unix?
Answers were Sorted based on User's Feedback
• Changing Permissions: Use the chmod command to change file permissions. For example, chmod 755 filename sets the permissions to read, write, and execute for the owner, and read and execute for the group and others.
• Changing Ownership: Use the chown command to change the ownership of a file. For example, chown user:group filename changes the owner to user and the group to group.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
• Changing Permissions: Use the chmod command to change file permissions. For example, chmod 755 filename sets the permissions to read, write, and execute for the owner, and read and execute for the group and others.
• Changing Ownership: Use the chown command to change the ownership of a file. For example, chown user:group filename changes the owner to user and the group to group.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
How to find $ai_serual resolved path by using unix
how to check a file system type
the difference between a soft link and a hard link?
what is the meaning of this command rm -rf / what will it do ?
In UNIX, what is the command to edit contents of the file?
What is a bash command?
What is pid?
How can you change the owner or group of a file?
what is tar command and what are the different types of tar commands?
Are you in or at the office?