CIS 2101 Homework Assignment #5

Name:
Email:

NOTE: To copy and paste in the Unix environment the following may be used:
  1. For the directory /mnt/homes/CLASSES/CIS2101/lab05/alpha:
    1. Who owns the directory? (1pt)
    2. In what group does it belong? (1pt)
    3. Who has write permission? (1pt)
    4. Could you save a file into this directory? Why or why not? (2pt)
  2. For the file /mnt/homes/CLASSES/CIS2101/lab05/beta:
    1. Who owns the file? (1pt)
    2. In what group does it belong? (1pt)
    3. What are the group permissions of this file? (1pt)

  3. Create a file called gamma in your CLASSES/CIS2101 directory (/mnt/homes/CLASSES/CIS2101/<username>).
    1. Change the group for this file to the students-f21 group. Cut and paste the command used and long listing of the file to show its permissions below: (2pts)
    2. Set the file permissions such that you can and members of the students-f21 group cannot write to this file. Cut and paste the command used and long listing of the file to show its permissions below: (2pt)
    3. Set the file permissions such that you cannot write to this file. Cut and paste the command used and long listing of the file to show its permissions below: (2pt)
    4. Now set the file permissions such that you can write to this file. Cut and paste the command used and long listing of the file to show its permissions below: (2pt)

Be sure to print out a copy of your answers when completed.

last updated: 17 Sep 2021 15:17