fix práv v deploy
This commit is contained in:
parent
dfede45535
commit
5e26ac5e69
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ function install_everything {
|
|||
make/install
|
||||
./manage.py migrate
|
||||
./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
|
||||
chmod -R g+rX,go-w . || true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue