IT 244: Introduction to Linux/Unix
Quiz 4 Answers

  1. By default, which account is the owner of a file or directory?
    the account that created it
  2. Name the three types of access permissions.
    read, write and execute
  3. Name the three categories of accounts which are used in assigning access permissions.
    owner, group, everyone else
  4. Who can change the access permissions on a file or directory?
    only the owner
  5. What is the name of the command you would use to change the access permissions for a file or directory?
    chmod
  6. What is the name of the account that can do ANYTHING on a Unix or Linux system?
    root
  7. If you have read permission on a directory, what can you do in it?
    run ls on the directory to list its contents
  8. If you have read permission on a directory, can you read the files in that directory?
    no, you need read permission on each file
  9. If you have write permission on a directory do you have write permission on the files it contains?
    no, you need write permission on each file
  10. If you have execute permission on a directory what can you do?
    cd into that directory