After operating without a proper permit for more than seven years, New York State authorities have told Buffalo Biodiesel it may need to stop operations at its main facility in Tonawanda.