Bookmark this page

Quiz: Interpreting File ACLs

Match the following items to their counterparts in the table.

Drag and drop the items to the cell next to the correct answer. Each cell should contain one answer. To change an answer, either drag it to another location, or click Reset to return the quiz to its original settings.

When you have completed the quiz, click Check. Your correct answers will have a blue background and your incorrect answers will be crossed out. To try again, click Reset. Note: If you have trouble getting the quiz to function a second time, try refreshing your browser. Click Show Solution to see all of the correct answers.

user:mary:rx file
getfacl /directory
g::rw /directory
user::rx file
g::rw file
group:hug:rwx /directory
default:user:mary:rx /directory
default:m::rx /directory
  • Description ACL operation
    Display the ACL on a directory.
    getfacl /directory
    Named user with read and execute permissions for a file.
    user:mary:rx file
    File owner with read and execute permissions for a file.
    user::rx file
    Read and write permissions for a directory granted to the directory group owner.
    g::rw /directory
    Read and write permissions for a file granted to the file group owner.
    g::rw file
    Read, write, and execute permissions for a directory granted to a named group.
    group:hug:rwx /directory
    Read and execute permissions set as the default mask.
    default:m::rx /directory
    Named user granted initial read permission for new files, and read and execute permissions for new subdirectories.
    default:user:mary:rx /directory
  • Revision: rh134-8.2-f0a9756