@Override
  public void set(File file, String view, String attribute, Object value, boolean create) {
    if (attribute.equals("acl")) {
      checkNotCreate(view, attribute, create);
      file.setAttribute("acl", "acl", toAcl(checkType(view, attribute, value, List.class)));
    }
  }
@Test
  public void testSet() {
    assertSetAndGetSucceeds("acl", ImmutableList.of());
    assertSetFailsOnCreate("acl", ImmutableList.of());
    assertSetFails("acl", ImmutableSet.of());
    assertSetFails("acl", ImmutableList.of("hello"));
  }