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 |
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
Explain command to show the space allocation of files?
Which command is used to kill the last background job?
How to delete a directory containing files and folders?
what is the command to list files in a directory in UNIX?
How to setup sudo, only can use for particular date & time only ( for solaris10 )
Where can I get the free download of Unix by Yeswant Kanetkar?
what are the different operating systems available?
What is mtime in find command?
Give two UNIX kernel parameters that effect an Oracle install
How do you remove a crontab file?
what is tar command and what are the different types of tar commands?