debian/loolwsd.postinst.in | 2 ++ loolwsd.spec.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
New commits: commit f8ae6243dde0c2fdd9bc048020d386de07145bfd Author: Andras Timar <andras.ti...@collabora.com> Date: Sat Apr 29 20:34:44 2017 +0200 non-world-readable loolwsd.xml in packages Change-Id: Ibe91699f8d126dd34c1041fcfaaf471974387e47 Reviewed-on: https://gerrit.libreoffice.org/37102 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in index 75ffb82e..a7cb8133 100755 --- a/debian/loolwsd.postinst.in +++ b/debian/loolwsd.postinst.in @@ -10,6 +10,8 @@ case "$1" in adduser --quiet --system --group --home /opt/lool lool mkdir -p /var/cache/loolwsd && chown lool: /var/cache/loolwsd rm -rf /var/cache/loolwsd/* + chown lool: /etc/loolwsd/loolwsd.xml + chmod 640 /etc/loowsd/loolwsd.xml # We assume that the LibreOffice to be used is built TDF-style # and installs in @LO_PATH@, and that /opt/lool is diff --git a/loolwsd.spec.in b/loolwsd.spec.in index 5b1463e6..1c1d66c4 100644 --- a/loolwsd.spec.in +++ b/loolwsd.spec.in @@ -110,7 +110,7 @@ echo "0 0 */1 * * root find /var/cache/loolwsd -name \"*.png\" -a -atime +10 -ex %endif %config(noreplace) /etc/cron.d/loolwsd.cron -%config(noreplace) /etc/loolwsd/loolwsd.xml +%config(noreplace) %attr(640, lool, root) /etc/loolwsd/loolwsd.xml %config /etc/loolwsd/loolkitconfig.xcu %doc README _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits