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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started