From c7274fb71e4a2dfee90e30475ae018e657076f33 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 21 Mar 2017 23:17:16 +0100 Subject: [PATCH] [fix] Set document root permission during package install. --- debian/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/postinst b/debian/postinst index f4b0e7dc..67360059 100644 --- a/debian/postinst +++ b/debian/postinst @@ -7,6 +7,9 @@ do_configure() { if [ ! -f /usr/share/yunohost/admin/ca.crt ]; then ln -s /etc/ssl/certs/ca-yunohost_crt.pem /usr/share/yunohost/admin/ca.crt fi + + # Set document root permissions + chown -R root:root /usr/share/yunohost/admin } # summary of how this script can be called: