diff --git a/scripts/_common.sh b/scripts/_common.sh index 06dd4f7..7f25dc0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -54,6 +54,7 @@ set_permission() { chown $pgadmin_user:root -R $final_path chown $pgadmin_user:root -R /var/lib/pgadmin chown $pgadmin_user:root -R /var/log/pgadmin + chown $pgadmin_user:root /var/log/uwsgi/$app chmod u=rwX,g=rX,o= -R /var/lib/pgadmin }