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:
parent
fd9a2e3f0d
commit
993f7ee2e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user