Run php-fpm as user www

This commit is contained in:
Lou Knauer
2021-07-16 09:01:46 +02:00
parent d38a526bff
commit 0d0ad58045
3 changed files with 9 additions and 2 deletions

View File

@@ -7,6 +7,10 @@ rm ./job-archive.tar.xz
if [ $# -gt 0 ]; then
if [ $1 == "dev" ]; then
# 101 is the uid and gid of the user and group www in the cc-php container running php-fpm.
# For a demo with no new jobs it is enough to give www read permissions on that directory.
sudo chown -R 101:101 ./job-archive
mkdir -p influxdb/data
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/influxdbv2-data.tar.xz
cd influxdb/data