diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-25 14:46:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-25 14:46:40 +0200 |
| commit | d15d28745678bc9a9e9bf285988b83e3cb534bf4 (patch) | |
| tree | 1c408ee9f8c6780fb42298a7e64cb099b55b9eb7 | |
| parent | fadf3e03b9361e04d55ca738fdff8ce7a71ac906 (diff) | |
| download | mastodon_ynh-d15d28745678bc9a9e9bf285988b83e3cb534bf4.tar.gz mastodon_ynh-d15d28745678bc9a9e9bf285988b83e3cb534bf4.tar.bz2 mastodon_ynh-d15d28745678bc9a9e9bf285988b83e3cb534bf4.zip | |
[fix] Acl backup directory
| -rw-r--r-- | scripts/restore | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore index c7e380c..414a5f5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -82,7 +82,8 @@ sudo su -c "psql" postgres <<< \ "update pg_database set datistemplate='true' where datname='template1';" # 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 ynh_psql_create_db_without_password "$app" |
