1 In a traditional UNIX file access model the system provide
1. In a traditional UNIX file access model, the system provides a default setting for newly created files and directories, which can be changed by the owner later. The default is typically full access for the owner combined with one of the following: no access for group and others (case 1), read/execute access for group and none for the other (case 2),or read/execute access for both group and other (case 3) . Briefly discuss the advantages and disadvantages of each of these cases, including an example of a type of organization where each would be appropriate. Also, give the equivalent numeric value of access control for each case.
Solution
All the files have owner user and a group associated with that . User (u) , group (g) , world (w).. There are three sets for a file one set for the user file . second one for the group file annd the final one is for the world which is represented in w.
All the final informations are determined by the inode 9 bit file information
numerical representation: \"rwxrwxrwx.\"
first three character : user
middle three : group
last three : world
Here in case 1:
Numerical representation : \" rw-------\"
This case helps in keeping the data secured , Generaly the data which should not be seen or write by others are kept here .
Also this case help when the computer is used by a single person and dont want their guest users to access the data.
Used in : person data privacy / Hospitals
case 2 :
Numerical representation : \"rw-rw----\"
Say there are several people who use your computer and you want to allow people of your group to read and write the data. With the group \"admin\" , You need to create a new directory which let your users to read and write , later exceutethe above permission
Group = read , write
chmod rw = myfile
When coming to group projects this case 2 helps alot to keep the data with in that group. these data can be viewed by the user by using group id and the password which was created by the group admin.
Used in : IT Organizations
Case 3:
Numerical representation : \"rw-rw-rw-\"
This case generaly has no specific constraints , as the data put under this case can be viewed by everyone who ever use the platform.
The main advantage of this case is that the data like
1) Rules and regulation to be followed in lab
2) general instructions , are put under this
Used in : school

