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's a command word?
Which command is used to kill the last background job?
How do you move a process which is running background to foreground?
Explain ‘library functions’ with respect to unix commands?
How to copy multiple files and directories into some other directory?
What is “chmod” command?
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,
What do know about tee command and its usage?
What are some command words?
How to setup sudo, only can use for particular date & time only ( for solaris10 )
Who wrote grep?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.