Skip to content

Commit

Permalink
Test of removing the check
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Apr 25, 2014
1 parent 5c4f7e0 commit c465bff
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -640,20 +640,6 @@ protected void makeCheckedDirs(final LinkedList<CheckedPath> paths,
break;
}

if (checked.parent().isRoot) {
// This is a top-level directory. This must equal
// "%USERNAME%_%USERID%", in which case if it doesn't exist, it will
// be created for the user in the "user" group so that it is
// visible globally.
String userDirectory = getUserDirectoryName(ec);
if (!userDirectory.equals(checked.getName())) {
throw new omero.ValidationException(null, null, String.format(
"User-directory name mismatch! (%s<>%s)",
userDirectory, checked.getName()));

}
}

pathsToFix.add(checked);
}

Expand Down

0 comments on commit c465bff

Please sign in to comment.