Permissions in File Systems Quiz
17 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the result when the umask is set to binary equivalent 0002?

  • ---rw-rw-r-- (correct)
  • ---rw-rw--
  • rw-rw-rw-
  • ---rw-rw-rw-
  • When the original file mode is ---rw-rw-r--, what is the resulting file mode when the umask is binary equivalent 0000?

  • --rwxrwxrwx
  • ---rw-rw-r-- (correct)
  • ---rwxrwxrwx
  • rw-rw-rw-
  • What happens when the umask is set to binary equivalent 0022?

  • ---rw-r--r-- (correct)
  • --r-xr-xr-x
  • ---rwxr-xr-x
  • -rw-r--r--
  • Which argument of the chown command changes the ownership of a file to user "nika" and group "users"?

    <p>nika:users</p> Signup and view all the answers

    In the chgrp command, what does changing the ownership to group "admins" indicate?

    <p>Leaving the owner unchanged and changing the group to admins</p> Signup and view all the answers

    What permission group owner applies only to?

    <p>The owner of the directory</p> Signup and view all the answers

    Which permission type allows a user to modify a file or directory?

    <p>Write</p> Signup and view all the answers

    What does the 'umask' command allow you to do?

    <p>Set default file permissions</p> Signup and view all the answers

    What is the octal notation for 'rwxr-xr-x' used in the chmod command?

    <p>755</p> Signup and view all the answers

    What does a file mode of '777' imply?

    <p>No restrictions on permissions, anyone can list files and create/delete files</p> Signup and view all the answers

    Which command allows you to change a file's ownership?

    <p>chown</p> Signup and view all the answers

    What does the symbolic notation 'u-X' signify?

    <p>Removing execute permission from the owner</p> Signup and view all the answers

    When 'go=rw' is used, what permissions are set?

    <p>Read and write for group owner and others, no permissions for the owner</p> Signup and view all the answers

    What is the result of '+X o-rw go=X' in symbolic notation?

    <p>Adding execute permission for everyone, removing read and write for others</p> Signup and view all the answers

    What does 'a' represent in symbolic notation?

    <p>All: combination of u, g, and o</p> Signup and view all the answers

    If 'u+X' is applied, what permission is granted to the directory or file owner?

    <p>Execute</p> Signup and view all the answers

    What is the effect of 'u+X,go=X' in symbolic notation?

    <p>Setting read and execute permissions for the owner, group, and others</p> Signup and view all the answers

    More Like This

    NTFS File System and Permissions
    25 questions
    Disques et Systèmes de Fichiers (Sujet 104)
    48 questions
    Use Quizgecko on...
    Browser
    Browser