ORLEANS — A charge of open and gross lewdness against a Provincetown taxi driver was continued without a finding for six months Wednesday in Orleans District Court in a plea agreement related to a Nov. 13 incident at Cumberland Farms in Provincetown, according to court records.

During the evening shift at the store, Philip Desmarais, 56, gave the finger to a security camera at the store and then dropped his pants and showed his buttocks to the camera, with two cashiers as witnesses, according to the police report. The cashiers told police they were both “shocked” by the incident, the report states.

During the investigation, police determined a store manager had warned Desmarais in the days before the incident about his behavior in the store and about giving another cashier a hard time, according to the report. Just before the alleged incident, Desmarais asked to speak to the manager, saying the manager had “messed with my business,” the report states.

Police reviewed the store’s surveillance video before requesting an arrest warrant for Desmarais. He is ordered to stay away from Cumberland Farms except when driving a cab, and then he is to stay in the cab except to pump gas, court records state.