Question: Please answer the following Linux bash Scripting question: a) There is a file with the permissions -rwxr-xx . The command: chmod u+s,g=o,o+r is run on

Please answer the following Linux bash Scripting question:

a) There is a file with the permissions -rwxr-xx. The command: chmod u+s,g=o,o+r is run on the file. What are the after the command is run on the file?

b) There is a directory that has a user owner of jdoe and a group owner of webdev with the setgid bit set. A user msmith with primary group msmith, who has write permissions on the directory, creates a new file in the directory. What are the user owner and group owner for the newly created file?

c) There is a file with the permissions -rwxr-xx. The command: chmod 1635 is run on the file. What are the after the command is run on the file?

d) A executable file owned by root:root has the setuid bit set, it is run by jdoe:student. What effect does the setuid bit have in this case?

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 Databases Questions!