permissions fixed

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@168 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi 2006-09-27 16:04:31 +00:00
parent eb9e94852c
commit 1ebd4c1674
4 changed files with 18 additions and 0 deletions

View File

@ -24,4 +24,9 @@ if [ -e /etc/weatherstation/frontend.conf ]; then
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

View File

@ -10,3 +10,7 @@ if ! getent passwd weatherstation >/dev/null 2>&1; then
weatherstation
echo "."
fi
# Fixperms:
/bin/chown weatherstation:weatherstation /etc/weatherstation/checksensor.conf
/bin/chmod 440 /etc/weatherstation/checksensor.conf

View File

@ -24,4 +24,9 @@ if [ -e /etc/weatherstation/chart.conf ]; then
fi
fi
# Fixperms:
/bin/chown weatherstation:www-data /etc/weatherstation/frontend.conf
/bin/chmod 440 /etc/weatherstation/frontend.conf
#DEBHELPER#

View File

@ -10,3 +10,7 @@ if ! getent passwd weatherstation >/dev/null 2>&1; then
weatherstation
echo "."
fi
# Fixperms:
/bin/chown weatherstation:weatherstation /etc/weatherstation/weatherd.conf
/bin/chmod 440 /etc/weatherstation/weather.conf