From 3862ae443098470245bfa0ffc88b7f7992320039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 20 Aug 2021 11:30:54 +0200 Subject: Fix the owner and the group of the directory /var/lib/mailgraph/ --- debian/mailgraph.postinst | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/mailgraph.postinst') diff --git a/debian/mailgraph.postinst b/debian/mailgraph.postinst index 4b73ef3..4c45aa9 100644 --- a/debian/mailgraph.postinst +++ b/debian/mailgraph.postinst @@ -36,6 +36,7 @@ case "$1" in ucf --debconf-ok ${tempfile} /etc/default/mailgraph ucfr mailgraph /etc/default/mailgraph rm -f ${tempfile} + chown -R www-data:www-data /var/lib/mailgraph/ ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3 From 62aba3d5f3cd9fab3d73a378f0be9ca7b99791e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 20 Aug 2021 12:03:15 +0200 Subject: use chown without -R --- debian/mailgraph.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/mailgraph.postinst') diff --git a/debian/mailgraph.postinst b/debian/mailgraph.postinst index 4c45aa9..62b42e8 100644 --- a/debian/mailgraph.postinst +++ b/debian/mailgraph.postinst @@ -36,7 +36,7 @@ case "$1" in ucf --debconf-ok ${tempfile} /etc/default/mailgraph ucfr mailgraph /etc/default/mailgraph rm -f ${tempfile} - chown -R www-data:www-data /var/lib/mailgraph/ + chown www-data:www-data /var/lib/mailgraph/ ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3