I always ask vendors if I can take their photos before doing so. They rarely say no and that small polite act goes a long way towards creating goodwill between the photographer and the subject.