I go to work every day on my bike. In my town there are only few bike roads but luckily one is about half of my way to job, but a lot of pedestrians believe they are bikes and occupy the bike path. At this point there are several scenarios. Sometimes they hear/see me and move away, this is not ok because they don't have the right to be there in first place, but it looks like they understand that.
But there are other cases when people ignore me or even try to get run over.
Those scenarios are really scary for me. I usually just avoid them which is actually make me the offender because I have to invade the sidewalk.
Or like this morning: a woman was on my side of the road and was completely ignoring my bell, I could not pass her on her left side as there were another bike coming, and just when I was passing her for some reason she thought that it will be the perfect moment to move away from the bike path. Lucky for her she saw me and just end up with a scare.
Should I lecture people about how ignoring roads can be unhealthy? Should I pass them at full speed leaving a nice scare?
A bike + driver hitting someone it is a few broken bones at best. How should I treat a pedestrian completely ignoring bike path, bikes and bikers, or even trying to cross my path?
One more thing, bike paths are not optional if there is one; if you are on a bike you must use the bike path.
Edit: I live in Spain. Here each town hall writes their own rules for bikes use in their territory. In mine, pedestrians can´t remain on a bike path. Bike riders also are enforced to ride on a bike path if there is one.