Fix static_html permissions
This commit is contained in:
parent
02149dbde7
commit
e9d7df39a2
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ if [ "$(id -u)" = 0 ]; then
|
||||||
|
|
||||||
# skin: move dwd icons
|
# skin: move dwd icons
|
||||||
mkdir /data/static_html || true
|
mkdir /data/static_html || true
|
||||||
|
chmod +x /data/static_html
|
||||||
rm -rf /data/static_html/dwd
|
rm -rf /data/static_html/dwd
|
||||||
cp -r ./public_html/dwd /data/static_html
|
cp -r ./public_html/dwd /data/static_html
|
||||||
chown -R "${WEEWX_UID:-weewx}:${WEEWX_GID:-weewx}" /data/static_html
|
chown -R "${WEEWX_UID:-weewx}:${WEEWX_GID:-weewx}" /data/static_html
|
||||||
|
|
Reference in a new issue