permissions fixed
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@168 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
parent
eb9e94852c
commit
1ebd4c1674
|
|
@ -24,4 +24,9 @@ if [ -e /etc/weatherstation/frontend.conf ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fixperms:
|
||||||
|
/bin/chown weatherstation:weatherstation /etc/weatherstation/chart.conf
|
||||||
|
/bin/chmod 440 /etc/weatherstation/chart.conf
|
||||||
|
|
||||||
|
/bin/chown weatherstation:weatherstation $LINKTARGET
|
||||||
|
/bin/chmod 644 $LINKTARGET
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,7 @@ if ! getent passwd weatherstation >/dev/null 2>&1; then
|
||||||
weatherstation
|
weatherstation
|
||||||
echo "."
|
echo "."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fixperms:
|
||||||
|
/bin/chown weatherstation:weatherstation /etc/weatherstation/checksensor.conf
|
||||||
|
/bin/chmod 440 /etc/weatherstation/checksensor.conf
|
||||||
|
|
|
||||||
|
|
@ -24,4 +24,9 @@ if [ -e /etc/weatherstation/chart.conf ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Fixperms:
|
||||||
|
/bin/chown weatherstation:www-data /etc/weatherstation/frontend.conf
|
||||||
|
/bin/chmod 440 /etc/weatherstation/frontend.conf
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,7 @@ if ! getent passwd weatherstation >/dev/null 2>&1; then
|
||||||
weatherstation
|
weatherstation
|
||||||
echo "."
|
echo "."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fixperms:
|
||||||
|
/bin/chown weatherstation:weatherstation /etc/weatherstation/weatherd.conf
|
||||||
|
/bin/chmod 440 /etc/weatherstation/weather.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue