1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

[fix] Acl backup directory

This commit is contained in:
nemsia 2017-04-25 14:46:40 +02:00 committed by GitHub
parent fadf3e03b9
commit d15d287456

View file

@ -82,7 +82,8 @@ sudo su -c "psql" postgres <<< \
"update pg_database set datistemplate='true' where datname='template1';" "update pg_database set datistemplate='true' where datname='template1';"
# Acl for Postgres user dump # Acl for Postgres user dump
sudo chmod a+rx $YNH_APP_BACKUP_DIR/mastodon_db.sql || true sudo chmod a+rx $YNH_APP_BACKUP_DIR
sudo chmod a+rx $YNH_APP_BACKUP_DIR/mastodon_db.sql
# Restore db # Restore db
ynh_psql_create_db_without_password "$app" ynh_psql_create_db_without_password "$app"