1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-11 01:27:17 +00:00

STORAGE_ROOT needs to be readable for nginx to have access

This commit is contained in:
KiekerJan 2022-05-21 23:16:36 +02:00
parent fd9a2e3f0d
commit 993f7ee2e5

View File

@ -79,6 +79,7 @@ fi
if [ ! -d $STORAGE_ROOT ]; then
mkdir -p $STORAGE_ROOT
fi
chmod o+rx $STORAGE_ROOT
if [ ! -f $STORAGE_ROOT/mailinabox.version ]; then
setup/migrate.py --current > $STORAGE_ROOT/mailinabox.version
chown $STORAGE_USER.$STORAGE_USER $STORAGE_ROOT/mailinabox.version