User Tools

Site Tools


journal:spring2019:bmather2:break2

unix break2


March 28--April 10, YEAR

Finally finished spf0 as well as upf1.
Over break usr0 was assigned. It is a game of sorts based on knowing the proper octal values of file permissions. I need to do 196 but am only allowed 12 at a time with 2 hours in between.

(urev)

Remember:
'x' is worth 1 (executable)
'w' is worth 2 (write)
'r' is worth 4 (read)

Also:
There is a value that comes before the user, group and other fields. This single value gets its number from SetUID, SetGID, and Sticky Bit.

SetUID=4:
An 's' in the 'x' field of the user section ('S' if there is no 'x' under it)

SetGID=2:
An 's' in the 'x' field of the group section ('S' if there is no 'x' under it)

Sticky Bit=1:
A 't' in the 'x' field of the other section ('T' if there is no 'x' under it)

journal/spring2019/bmather2/break2.txt · Last modified: 2019/03/29 16:21 by bmather2