The configured LOGFILE can not be modified.
This is btw the place where the packaging sets these permissions (for Debian based platforms): https://stash.z-hub.io/projects/ZP/repos/z-push/browse/build/deb/debian.z-push-config-apache.postinst#27-36,43-44
BMWfan last edited by
For me is the problem fixed, but nevertheless it was not functioning inbetween of the installation process.
chown www-data:www-data /var/lib/z-push /var/log/z-push
same for me : new installation -> Debian 9
@mcdaniels Can you show which packages you have actually installed? (e.g. dpkg - l | grep z-push)
@mcdaniels in that case you should not have had the need to chown the directory, as this action is part of the postinst action of
@fbartels: Strange, but the errormessage while installing via apt-get was the same as mentioned in this thread. Did the chown. It is working now.
thctlo last edited by
@fbartels That is a nice, but wrong example.
set_perms www-data www-data 700 /var/lib/z-push set_perms www-data www-data 700 /var/log/z-push
set_perms www-data adm 750 /var/lib/z-push set_perms www-data adm 750 /var/log/z-push
Confirm debian policy. ;-)
install -d /var/lib/z-push -o www-data -g adm -m 750 install -d /var/log/z-push -o www-data -g adm -m 750
where user/group should be the variable to set to match the correct user/group per distro.
@thctlo your version may include more Debianisms (the adm group), but in the end achieves the same. The www-data user needs read/write permissions.
So I would not say the current way is “wrong”.
thctlo last edited by thctlo
yes, i do, because the "administrative group " adm, should have read access.
which is/was in Red Hat : wheel
but i can not confirm it that is still.