Fix the systemd socket activation socket permissions

Fixes #6836