/var/lib/apache2/fcgid/sock/ is in libapache2-mod-fcgid 1:2.3.9-1.
This file is owned by www-data:www-data, with mode 0o755.