This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2022:unix:projects:usr0 [2022/02/15 11:16] – [Objective] wedge | haas:spring2022:unix:projects:usr0 [2022/03/02 14:46] (current) – [4th tier] wedge | ||
---|---|---|---|
Line 7: | Line 7: | ||
=====Objective===== | =====Objective===== | ||
- | To practice/ | + | To practice/ |
It has been a while since we first encountered file permissions; | It has been a while since we first encountered file permissions; | ||
Line 50: | Line 50: | ||
< | < | ||
| | ||
- | - | + | - |
- | | + | |
</ | </ | ||
Line 58: | Line 58: | ||
Your task will be to run this and complete a minimum of 144 problems (you' | Your task will be to run this and complete a minimum of 144 problems (you' | ||
- | To use **urev**, basically type in the 3 or 4 octal values matching the problem displayed (in the above example, you'd type in ' | + | To use **urev**, basically type in the 3 or 4 octal values matching the problem displayed (in the above example, you'd type in ' |
If you get all 3 (or 4) correct, you'll earn a point. (Careful not to type too fast, otherwise the output may appear garbled). | If you get all 3 (or 4) correct, you'll earn a point. (Careful not to type too fast, otherwise the output may appear garbled). | ||
+ | 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, | + | In addition to the classic three-valued permissions, there is an additional tier of permissions, |
**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 ' | ||
Breakdown is as follows: | Breakdown is as follows: | ||
- | * SetUID < | + | * SetUID < |
- | * this will manifest in the user field, overlaying | + | * this will manifest in the user field, overlaying |
- | * if no ' | + | * ' |
- | * SetGID < | + | * SetGID < |
- | * this will manifest in the group field, overlaying | + | * this will manifest in the group field, overlaying |
- | * if no ' | + | * ' |
- | * Sticky Bit < | + | * the Sticky Bit < |
- | * this will manifest in the other field, overlaying | + | * this will manifest in the other field, overlaying |
- | * if no ' | + | * ' |
* nothing < | * nothing < | ||
+ | |||
+ | 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! | ||
+ | |||
+ | =====Time Delay===== | ||
+ | To reinforce mastery, there is a time delay instituted to prevent accomplishing this task in one sitting. You will have to plan your time accordingly to perform this project in the time allotted. | ||
+ | |||
+ | =====Project Stats===== | ||
+ | A general overview of how the class has approached the project: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | where each color represents one individual' | ||
+ | |||
+ | And a more individual effort: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | where each line is an individual' | ||
=====Submission===== | =====Submission===== | ||
- | Submission for this project is super-easy: simply complete the minimum required | + | Submission for this project is super-easy: simply complete the minimum required |
+ | |||
+ | There is an opportunity to gain bonus points, and/or make up for mistakes made during the performing of this project, by doing more problems in addition to the 144 minimum. | ||
+ | |||
+ | A central focus of this project is an enforced time management. You may want to plan ahead to make sure you budget the adequate time so you do not end up missing out. | ||
+ | |||
+ | I'll be evaluating the project based on the following criteria: | ||
+ | |||
+ | < | ||
+ | 78: | ||
+ | *: | ||
+ | *: | ||
+ | </ | ||
+ | **NOTE:** as with other projects, in order to get credit for the project it must be submitted. To submit this project, you must have completed 144 problems. Not doing so will not garner you any points. |