diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-25 12:46:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-25 12:46:21 +0200 |
| commit | fadf3e03b9361e04d55ca738fdff8ce7a71ac906 (patch) | |
| tree | 5455b1f361cd650147aa8dc197221341d4ec83e3 /scripts/restore | |
| parent | 3604622ae5400c7d757943d70cf528904149dbdf (diff) | |
| download | mastodon_ynh-fadf3e03b9361e04d55ca738fdff8ce7a71ac906.tar.gz mastodon_ynh-fadf3e03b9361e04d55ca738fdff8ce7a71ac906.tar.bz2 mastodon_ynh-fadf3e03b9361e04d55ca738fdff8ce7a71ac906.zip | |
[fix] Chmod .sql
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore index a0498f0..c7e380c 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 chmod o+r $YNH_APP_BACKUP_DIR/mastodon_db.sql || true +sudo chmod a+rx $YNH_APP_BACKUP_DIR/mastodon_db.sql || true # Restore db ynh_psql_create_db_without_password "$app" |
