fix práv v deploy

This commit is contained in:
Pavel "LEdoian" Turinsky 2022-11-21 22:21:34 +01:00
parent dfede45535
commit 5e26ac5e69

View file

@ -96,6 +96,8 @@ function install_everything {
make/install make/install
./manage.py migrate ./manage.py migrate
./manage.py collectstatic --noinput ./manage.py collectstatic --noinput
setfacl -R -m default:u:www-data:rX media static
setfacl -R -m u:www-data:rX media static
chown -R :mam . || true chown -R :mam . || true
chmod -R g+rX,go-w . || true chmod -R g+rX,go-w . || true
} }