diff --git a/Makefile b/Makefile index 1887b99b..c1c7dd12 100644 --- a/Makefile +++ b/Makefile @@ -68,9 +68,9 @@ deploy_test: make install ./manage.py migrate ./manage.py collectstatic --noinput - (chown -Rf :mam . || true ) - (chmod -Rf g+rX . || true ) - (chmod -Rf g+rwX ./media/ || true ) + (chown -R :mam . || true ) + (chmod -R g+rX,go-w . || true ) + @echo Notifying apache about the change ... touch mamweb/wsgi.py @echo Done. @@ -86,9 +86,9 @@ deploy_prod: make install ./manage.py migrate ./manage.py collectstatic --noinput - (chown -Rf :mam . || true ) - (chmod -Rf g+rX . || true ) - (chmod -Rf g+rwX ./media/ || true ) + (chown -R :mam . || true ) + (chmod -R g+rX,go-w . || true ) + @echo Notifying apache about the change ... touch mamweb/wsgi.py @echo Done.