This commit is contained in:
Sven Holz
2022-06-15 00:08:53 +02:00
parent 4ff13ef398
commit 5e6bd76557

View File

@@ -43,8 +43,8 @@ sed -i -e "s/YOUR_BUCKET_NAME/$INFLUX_BUCKET/g" $MyScriptPath/grafana/provisioni
# Correct owner and permissions to satisfy the containers # Correct owner and permissions to satisfy the containers
echo "CHMOD: chmod -R 755 $MyPath" echo "CHMOD: chmod -R 755 $MyPath"
chmod -R 755 $MyPath chmod -R 755 $MyPath
echo "CHMOD: chmod 644 $MyScriptPath/grafana/datasources/grafana-datasource.yml" echo "CHMOD: chmod 644 $MyScriptPath/grafana/provisioning/datasources/grafana-datasource.yml"
chmod 644 $MyScriptPath/grafana/datasources/grafana-datasource.yml chmod 644 $MyScriptPath/grafana/provisioning/datasources/grafana-datasource.yml
echo "CHOWN: chown -R 472.472 $MyPath/grafana/var_lib" echo "CHOWN: chown -R 472.472 $MyPath/grafana/var_lib"
chown -R 472.472 $MyPath/grafana/var_lib chown -R 472.472 $MyPath/grafana/var_lib