French police officials said on Monday a man had opened fire near a supermarket west of Paris and injured two people.