From c2a4f744965b484e1906f5dfdd71faf20a1fd315 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sat, 4 Jul 2020 23:56:10 +0200 Subject: [PATCH] chmod a=rw /usr/local/vesta/data/upgrades/show_changelog --- src/deb/vesta/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 83654e9a..e93ca980 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -20,7 +20,8 @@ if [ ! -d "/usr/local/vesta/data/upgrades" ]; then fi # show changelog after update -touch /usr/local/vesta/data/upgrades/show_changelog +echo "1" > /usr/local/vesta/data/upgrades/show_changelog +chmod a=rw /usr/local/vesta/data/upgrades/show_changelog if [ ! -f "/usr/local/vesta/data/upgrades/tune-fpm-config-files-v1" ]; then touch /usr/local/vesta/data/upgrades/tune-fpm-config-files-v1