First off, sorry if this question is a repeat.
What is the proper etiquette for people with dogs on the trail?
I was out hiking today and this yellow dog (no leash) comes sprinting up the trail and jumped on me. The dog was only being playful, but I did not welcome his advances. The owners come slowly strolling along a few minutes later and complained to me "You made him sad, he wants you to play with him." I restrained myself from ripping them a new one, but it occurs to me that this is in bad form. They should have the dog on a leash and should be mindful of my right to hike without petting dogs.
Otherwise it was a beautiful day.