The operation took place at the Stonestown Galleria and West Portal commercial corridor in San Francisco, authorities said.