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 (A)</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 (B)</p> Signup and view all the answers

What permission group owner applies only to?

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

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

<p>Write (A)</p> Signup and view all the answers

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

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

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

<p>755 (C)</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 (B)</p> Signup and view all the answers

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

<p>chown (D)</p> Signup and view all the answers

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

<p>Removing execute permission from the owner (B)</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 (A)</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 (D)</p> Signup and view all the answers

What does 'a' represent in symbolic notation?

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

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

<p>Execute (B)</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 (A)</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