diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-26 10:40:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-26 10:40:39 +0200 |
| commit | a73600b547a4938d41b9107eb2f14960e420ab35 (patch) | |
| tree | b982b0a37e114956dccc97acafbbdabd0a8ef736 /scripts | |
| parent | 5850d816620c8b6c1664f0c478321570591f9118 (diff) | |
| download | mastodon_ynh-a73600b547a4938d41b9107eb2f14960e420ab35.tar.gz mastodon_ynh-a73600b547a4938d41b9107eb2f14960e420ab35.tar.bz2 mastodon_ynh-a73600b547a4938d41b9107eb2f14960e420ab35.zip | |
[fix] Chmod on backup/tmp
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/restore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/restore b/scripts/restore index f931f0d..8d0df6a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,8 @@ sudo cp -a ./sources "$final_path" # Set permissions sudo chown -R $app: "$final_path" +sudo chmod -R a+rx /home/yunohost.backup/tmp + # Set UTF8 encoding by default sudo su -c "psql" postgres <<< \ |
