Question: Lab: Practicing Linux Command - OpenSUSE Take a screenshot from each exercise and paste it below each point and answer the questions. Part 5: File
Lab: Practicing Linux Command - OpenSUSE
Take a screenshot from each exercise and paste it below each point and answer the questions.

Part 5: File permissions and Security In the following, you will learn how to use the chmod command to allow or restrict access of your files by others. 39. From your home directory, create a new file "yourname.txt" using the touch command. Q: What are the default file privileges of yourname.txt file? 40. Change the file permissions on "yourname.txt" to be readable and writeable by you the owner), and just readable by people in the same group and everyone else. Note: Confirm and identify the change by listing the file in a long format. 41. In your home directory, create a new directory called "subjects". Q: Write down the default file permissions. 42. Change the permissions so that the "subjects" directory is readable, writeable, and executable by you (the owner), executable by users in the same group as well as everyone else. Note: Confirm and identify that the change has been made. 43. Copy the file "yourname.txt" to the directory "subjects" and confirm. Change to your home directory. 44. Change the permissions on the subjects" directory to be readable and writeable by you (the owner), and not readable/writeable or executable by users in the same group or anyone else. Note: Confirm and identify the change. 45. Change to the "subjects" directory. Q: What error message do you get? Q: How do you fix this? Using the file yourname.txt in the following questions 46. With chmod command 671 means rw-rwx-w-? Note: Apply the command and confirm the result. 47. With chmod, is 664 the same as r-xr-xr--? confirm by applying. Q: If no then write what permission 664 represents and which numbers represent r-xr-xr--? 48. With chmod, is 400 the same as I--------? Note: Confirm by applying and showing in screen shot. 49. With chmod, is 734 the same as rwxr-xr-- ? Q: If no then write what permission 734 represents and which numbers represent rwxr-xr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
