final FSAccessRights rights = getAccessRights(file);
return (rights == null) || rights.canExecute();
}
public boolean setReadable(String file, boolean enable, boolean owneronly) throws IOException {
final FSAccessRights rights = getAccessRights(file);
if (rights == null) {
return false;
}
return rights.setReadable(enable, owneronly);
}