Question: 8 . Looking at the following output execute the commands that are asked [ stu 2 4 8 @lgunix 1 stu 2 4 8 ]

8. Looking at the following output execute the commands that are asked [stu248@lgunix1 stu248]$ ls -lR .: total 24 drwxr-xr-x 2 stu248 student 4096 Feb1316:37 c1 drwxr-xr-x 2 stu248 student 4096 Feb1316:37 c2-rw-r--r--1 stu248 student 53 Feb1316:36 g1-rw-r--r--1 stu248 student 40 Feb1316:34 g2-rw-r--r--1 stu248 student 82 Feb1316:34 g3-rw-r--r--1 stu248 student 72 Feb1316:34 g4./c1: total 4-rw-r--r--1 stu248 student 53 Feb1316:37 g1./c2: total 4-rw-r--r--1 stu248 student 40 Feb1316:37 g2 a) File g1 in home directory. Deny the read permission to the group and add the execute permission to the owner b) File g2 in home directory. Add the write permission to the group c) File g3 in home directory. Add the write and execute permission to the others d) File g1 in home directory. Deny the read permission to the group e) File g1 in c1 directory. Deny the write permission to the owner, add the execute permission to the owner, and deny the read permission to the group and others f) File g2 in c2 directory. Add the write permission to the group and others. Add the execute permission to the owner and the others. g) c1 directory. Deny the execute permission to the owner. Once you change its permissions change directory to c1. Explain h) c2 directory. Deny the execute permission to the group. Once you change its permissions change directory to c1. Explain i) c1 directory. Add the execute permission and deny the read permission to the owner. Change directory to c1 and once c1 is your current directory list all the files. Explain j) Add the execute permission to the owner for the files g1, g2, g3, and g4 in home directory only

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!