diff --git a/fhem/contrib/DEBIAN/postinst b/fhem/contrib/DEBIAN/postinst index 5d6d37227..d0fc93c3b 100644 --- a/fhem/contrib/DEBIAN/postinst +++ b/fhem/contrib/DEBIAN/postinst @@ -3,10 +3,10 @@ set -e if ! getent passwd fhem >/dev/null; then - useradd --system --home /var/log/fhem --shell /bin/false fhem + useradd --system --home /var/log/fhem --gid dialout --shell /bin/false fhem fi -chown -R fhem /var/log/fhem /etc/fhem.cfg +chown -R fhem /var/log/fhem /etc/fhem.cfg /usr/share/fhem #set up of autostart if test -x /sbin/initctl; then