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
Get step-by-step solutions from verified subject matter experts
