Question: UNIX PROGRAMMING Problem 7 (12 points): Answer the following questions about the chmod command: a) Compare and contrast symbolic notation and numeric notation. b) Using

UNIX PROGRAMMING

Problem 7 (12 points): Answer the following questions about the chmod command:

a) Compare and contrast symbolic notation and numeric notation.

b) Using symbolic notation, how would you add read and execute permission for the others (everyone)?

c) Using symbolic notation, how would you set the permission of the group to be read and write, but no execute?

d) Using numeric notation, how would you assign the permission string -rwx-wx-w- ?

e) Using numeric notation, how would you assign the permission string -rw-r----x ?

f) If you have a link to a file rather than the actual file, how do you change the permissions of the link itself rather than the actual file (hint: look up the man page for chmod)?

g) Which chmod flag allows you to recursively change the permissions of files inside of a directory, rather that the file/directory itself?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!