mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 14:58:00 +00:00
permissions fixed
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@168 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
Vendored
+5
@@ -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
|
||||
|
||||
+4
@@ -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
|
||||
|
||||
+5
@@ -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#
|
||||
|
||||
+4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user