How do you change file permissions and ownership in Unix?

Answers were Sorted based on User's Feedback



How do you change file permissions and ownership in Unix?..

Answer / hr@tgksolutions.com

• 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

How do you change file permissions and ownership in Unix?..

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

Post New Answer

More Unix Commands Interview Questions

If we want to see first 35 lines of a file which command we have to use?

8 Answers  


How does a user get the current date, time in UNIX?

6 Answers   IBM,


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


what does a process mean?

7 Answers   Infosys,


What is command substitution?

0 Answers  


What is $0 bash?

0 Answers  


What does find command return in unix?

0 Answers  


what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


Describe the zip/unzip command using gzip.

0 Answers  


How does the system know where one command ends and another begins?

0 Answers  


How to find the files that are accessed before 10 minutes?

5 Answers   Amazon,


Name the general commands in using unix os for a beginner?

0 Answers  


Categories