Access Permissions

10 Questions | Total Attempts: 336

SettingsSettingsSettings
Please wait...
Access Quizzes & Trivia

Test your skills about Linux access permissions concepts and commands.


Questions and Answers
  • 1. 
    Below are the benefits from access permission, EXCEPT
    • A. 

      Restricting users not to remove files

    • B. 

      Restricting users not to modify files

    • C. 

      Restricting users not to see the content of files

    • D. 

      Restricting users not to see the content of directory

    • E. 

      Restricting users not to make the hard disk full

  • 2. 
    If you want to protect files from deletion, you have to
    • A. 

      Change the file write permission

    • B. 

      Change the file read permission

    • C. 

      Change the file's directory write permission

    • D. 

      Change the file's directory read permission

  • 3. 
    If you want to protect files from content modifications, you have to
    • A. 

      Change the file write permission

    • B. 

      Change the file read permission

    • C. 

      Change the file's directory write permission

    • D. 

      Change the file's directory read permission

  • 4. 
    If you want to restrict users from directory content listing, you have to
    • A. 

      Change the file write permission

    • B. 

      Change the file read permission

    • C. 

      Change the directory write permission

    • D. 

      Change the directory read permission

  • 5. 
    The command to restrict user not to delete finance.doc within directory /home/budi
    • A. 

      Chmod +w finance.doc

    • B. 

      Chmod -w finance.doc

    • C. 

      Chmod +w /home/budi

    • D. 

      Chmod -w /home/budi

  • 6. 
    Chmod 644 finance.doc644 equals to
    • A. 

      Rwx r-x r-x

    • B. 

      Rw- r-x r-x

    • C. 

      R-- r-- ---

    • D. 

      Rw- r-- r--

    • E. 

      Rw- rw- rw-

  • 7. 
    Chmod u+s /usr/sbin/trackdataWhat is the "s" mean?
    • A. 

      Sticky bit

    • B. 

      Sgid

    • C. 

      Suid

    • D. 

      Ssid

  • 8. 
    Chmod 4755 /usr/sbin/trackdata4755 equals to
    • A. 

      Command error

    • B. 

      Rwx r-x r-x

    • C. 

      Rw- r-s r-s

    • D. 

      Rws r-x r-x

  • 9. 
    The difference between "x" permission in file and directory, is
    • A. 

      Both means execute permission in directory and file

    • B. 

      Execute permission in directory, enter permission in file

    • C. 

      Enter permission in directory, execute permission in file

    • D. 

      Execute permission in file, not applicable in directory

  • 10. 
    What happen if I run this command:umask 26
    • A. 

      Default file mode creation become 644

    • B. 

      Default directory mode creation become 755

    • C. 

      Default file mode creation become rwx r-x r-x

    • D. 

      Default directory mode creation become rwx r-x --x

    • E. 

      How the hell I know?

Related Topics
Back to Top Back to top