Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 subjective questions File Permissions and Ownership

CSE105 — Creative Engineering Workshop 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Explain the Linux Permission Model in detail. Describe the three categories of users and the three types of permissions associated with each file.

  2. Question 2 of 20

    Describe the Read, Write, and Execute permissions and explain how their meaning differs when applied to files versus directories.

  3. Question 3 of 20

    Explain the chmod command in Symbolic Mode. Give examples of adding, removing, and setting permissions.

  4. Question 4 of 20

    Explain the chmod command in Numeric (Octal) Mode. Show how permission values are calculated with examples.

  5. Question 5 of 20

    Distinguish between Symbolic Mode and Numeric Mode of the chmod command. Discuss the advantages and disadvantages of each.

  6. Question 6 of 20

    Explain the chown command in Linux. Describe its syntax and demonstrate how to change file ownership and group ownership with examples.

  7. Question 7 of 20

    Define the concept of File Ownership and Group Ownership in Linux. Why is ownership important for system security?

  8. Question 8 of 20

    Explain the umask command. How does it determine the default permissions of newly created files and directories?

  9. Question 9 of 20

    A directory has the permission string drwxr-x---. Interpret this permission string completely and give its equivalent numeric (octal) value.

  10. Question 10 of 20

    Explain the important Permission Security Concepts in Linux, including the Principle of Least Privilege, dangers of 777 permissions, and best practices.

  11. Question 11 of 20

    Compare the commands chmod, chown, and chgrp. Explain the purpose of each with examples.

  12. Question 12 of 20

    Given a file with default base permission and a umask value of , derive the resulting default permissions for both a file and a directory. Show all steps.

  13. Question 13 of 20

    Describe the special permission bits in Linux: SetUID, SetGID, and the Sticky Bit. Explain their use with examples.

  14. Question 14 of 20

    Explain how to read and interpret the output of the ls -l command. Identify each field with an example.

  15. Question 15 of 20

    A user reports that they cannot execute a shell script named deploy.sh even though they own it. Analyze the possible permission-related causes and explain the commands to fix the issue.

  16. Question 16 of 20

    Explain why Linux does not assign the execute permission to files by default (base 666) but does assign it to directories (base 777). Discuss the security reasoning.

  17. Question 17 of 20

    Write short notes on any two of the following: (a) Recursive permission change using chmod -R, (b) The role of the root user in permission management, (c) Difference between primary group and secondary group.

  18. Question 18 of 20

    Convert the following into their required forms: (i) rw-r--r-- to octal, (ii) octal 640 to symbolic, (iii) chmod 754 to symbolic representation. Show the working for each.

  19. Question 19 of 20

    Explain the relationship between file permissions, ownership, and system security. Describe a real-world scenario where incorrect permissions could lead to a security breach.

  20. Question 20 of 20

    Distinguish between the effect of umask 022 and umask 077. Explain which is more suitable for a shared server versus a private system and why.

That's unit 4

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.