mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-20 00:27:23 +02:00
STORAGE_ROOT needs to be readable for nginx to have access
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user