User Tools

Site Tools


haas:spring2022:unix:projects:usr0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
haas:spring2022:unix:projects:usr0 [2022/03/01 18:50] – [Project Stats] wedgehaas:spring2022:unix:projects:usr0 [2022/03/02 14:46] (current) – [4th tier] wedge
Line 64: Line 64:
 Any accumulated mistakes can be mitigated by doing problems in excess of the 144 required minimum. Once any mistakes have been nullified, some apportionment of bonus points can then be attained (not to exceed half the total points the project is worth). Any accumulated mistakes can be mitigated by doing problems in excess of the 144 required minimum. Once any mistakes have been nullified, some apportionment of bonus points can then be attained (not to exceed half the total points the project is worth).
 =====4th tier===== =====4th tier=====
-If you recall, there is an additional tier of permissions, corresponding to the "SetUID", "SetGID", and "Sticky Bit" modes. These represent a fourth value (the leading value).+In addition to the classic three-valued permissions, there is an additional tier of permissions, corresponding to the "SetUID", "SetGID", and "Sticky Bit" modes. These represent a fourth value (the leading value).
  
 **Be aware:** Once you reach your 96th problem, this mode will be unlocked, and all modes entered will be 4-octal values long. **Be aware:** Once you reach your 96th problem, this mode will be unlocked, and all modes entered will be 4-octal values long.
 +
 +To maintain general compatibility with the existing structure of the system, especially organization and real estate taken up by the display of the unix filemode string, this further tier of permissions instead overlays atop the 'x' fields of the user, group, and other fields.
  
 Breakdown is as follows: Breakdown is as follows:
  
-  * SetUID <nowiki>(s)</nowiki> is +  * SetUID <nowiki>(s)</nowiki> has a value of 
-    * this will manifest in the user field, overlaying the 'x' bit +    * this will manifest in the user field, overlaying its 'x' bit position 
-    * if no 'x' bit is present, 's' will be CAPITAL (S). +    * 's' if 'x' is present, 'S' if 'x' is not present 
-  * SetGID <nowiki>(s)</nowiki> is +  * SetGID <nowiki>(s)</nowiki> has a value of 
-    * this will manifest in the group field, overlaying the 'x' bit +    * this will manifest in the group field, overlaying its 'x' bit position 
-    * if no 'x' bit is present, 's' will be CAPITAL (S). +    * 's' if 'x' is present, 'S' if 'x' is not present 
-  * Sticky Bit <nowiki>(t)</nowiki> is +  * the Sticky Bit <nowiki>(t)</nowiki> has a value of 
-    * this will manifest in the other field, overlaying the 'x' bit +    * this will manifest in the other field, overlaying its 'x' bit position 
-    * if no 'x' bit is present, 't' will be CAPITAL (T).+    * 't' if 'x' is present, 'T' if 'x' is not present
   * nothing <nowiki>(-)</nowiki> is 0   * nothing <nowiki>(-)</nowiki> is 0
 +
 +You are to calculate this tier of permissions separate from the others (it is a distinct, separate fourth octal value, leading the classic three-valued permissions you've been working on so far).
  
 Over time, there may be changes in display form and difficulty. Think it through, answer with confidence! Over time, there may be changes in display form and difficulty. Think it through, answer with confidence!
haas/spring2022/unix/projects/usr0.1646160658.txt.gz · Last modified: 2022/03/01 18:50 by wedge