Bookmark this page

Quiz: Interpreting File and Directory Permissions

Using the directory listing presented below, match the items that follow to their counterparts in the table.

Drag and drop the items to the cell by the correct answer. Each cell should contain one answer. If you wish 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. If you wish 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.

Users and their groups:

    wilma    wilma,flintstone
    fred     fred,flintstone
    betty    betty,rubble
    barney   barney,rubble

File attributes (permissions, user & group ownership, name):

    drwxrwxr-x   fred    flintstone  dir (which contains the following files)
      -rw-rw-r--   wilma   wilma       lfile1
      -rw-r--rw-   wilma   flintstone  lfile2
      -rw-rw-r--   fred    flintstone  rfile1
      -rw-r-----   fred    flintstone  rfile2
        
lfile2
rfile1
all
none
rfile2
lfile1
  • DescriptionFile name
    Is owned by fred and readable by all users
    rfile1
    Contents may be modified by the user betty
    lfile2
    Can be deleted by the user fred
    all
    Cannot be read by the user barney
    rfile2
    Has a group ownership of wilma
    lfile1
    Can be deleted by the user barney
    none
  • Revision: rh124-7-1b00421