From 0067bdefff71075f2b28420c1f30e9892daa8f40 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 23 Sep 2011 11:52:45 +0000 Subject: [PATCH] Changeown /usr/share/fhem to fhem, so updatefhem can work. git-svn-id: https://svn.fhem.de/fhem/trunk@1016 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DEBIAN/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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