Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the octal equivalents for the following binary numbers:100,111,101,011, and 010. Write how to express*nix owner permissions of r-x in binary (Remember that the -symbol
- Write the octal equivalents for the following binary numbers:100,111,101,011, and 010.
- Write how to express*nix owner permissions of r-x in binary (Remember that the -symbol means the permission isn’t granted.) What’s the octal representation of the binary number you calculated? (The range of numbers expressed in octal is 0 to7. Because*nix has three sets of permissions, three sets of 3binary bits logically represent all possible permissions.)
- In binary and octal numbering, how do you express granting read, write, and execute permission to the owner of a file and no permissions to anyone else?
- In binary and octal numbering, how do you express granting read, write, and execute permission to the owner of a file, read and write permission to group, and read permission to other?
- In UNIX, a file can be created by using a umask, which enables you to modify the default permissions for a file or directory. For example, a directory has the default permission of octal 777. If a UNIX administrator creates a directory with a umask of octal 020, what effect does this setting have on the directory? Hint: To calculate the solution, you can subtract the octal umask value from the octal default permissions.
- The default permission for a file on a UNIX system is octal 666. If a file is created with a umask of octal 022, what are the effective permissions? Calculate the results.
Step by Step Solution
★★★★★
3.37 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
Octal Equivalents for Binary Numbers Binary 100 Octal 4 Binary 111 Octal 7 Binary 101 Octal 5 Bina...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