In Switzerland (Europe but not EU I suppose) it would be illegal to have a home security camera in a public area like this - dashcams aren't legal for the same reason, they invade privacy without a justified lawful reason.
Being in the background of someone else's holiday photo isn't a problem, but you can't just post publicly identifying photos of people where they are the subject of the photo if you do not have consent.