-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hello !
I followed the guide here to generate the server cach on one layer to test it.
So i get inside the lwc docker and put the commands there, all is fine until i have to exec this one:
lizmap/install/set_rights.sh www-data www-data
I receive this : chown: unknown user/group www-data:www-data
The script executed is this one:
#!/bin/sh
SCRIPTDIR=$(dirname $0)
USER="$1"
GROUP="$2"
if [ "$USER" = "" ]; then
USER="www-data"
fi
if [ "$GROUP" = "" ]; then
GROUP="www-data"
fi
VARDIR="$SCRIPTDIR/../var"
WWWDIR="$SCRIPTDIR/../www"
DIRS="$VARDIR/config $VARDIR/db $VARDIR/log $VARDIR/themes $VARDIR/overloads"
DIRS="$DIRS $VARDIR/mails $VARDIR/uploads $VARDIR/lizmap-theme-config"
DIRS="$DIRS $SCRIPTDIR/../../temp/lizmap $WWWDIR/cache/ $WWWDIR/document/ $WWWDIR/live/"
chown -R $USER:$GROUP $DIRS
chmod -R ug+w $DIRS
So inside the docker, wich owner should i give to the dirs ?
Thank you
Metadata
Metadata
Assignees
Labels
No labels