From 81e96d1a12115caf83cc73e42026382a7f1a2670 Mon Sep 17 00:00:00 2001 From: opi Date: Wed, 29 Mar 2017 03:50:27 +0200 Subject: [PATCH] [fix] Set document root permission during package install. (#156) --- 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: