@Test (timeout = 30000)
public void testFailFullyDeleteGrantPermissions() throws IOException {

  setupDirsAndNonWritablePermissions();
  boolean ret = FileUtil.fullyDelete(new MyFile(del), true);
  // this time the directories with revoked permissions *should* be deleted:
  validateAndSetWritablePermissions(false, ret);
}