From 3604622ae5400c7d757943d70cf528904149dbdf Mon Sep 17 00:00:00 2001 From: nemsia Date: Tue, 25 Apr 2017 00:04:58 +0200 Subject: [PATCH] [fix] replace setfact by chmod --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 80233af..a0498f0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -82,7 +82,7 @@ sudo su -c "psql" postgres <<< \ "update pg_database set datistemplate='true' where datname='template1';" # Acl for Postgres user dump -sudo setfacl -R -m u:postgres:r $YNH_APP_BACKUP_DIR || true +sudo chmod o+r $YNH_APP_BACKUP_DIR/mastodon_db.sql || true # Restore db ynh_psql_create_db_without_password "$app"