[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - Makefile.in

Tor Lillqvist tml at collabora.com
Wed Jan 31 14:03:48 UTC 2018


 Makefile.in |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 7a7c99d0831c42a6f7bb93817e5ef96a83f23113
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Jan 31 11:01:54 2018 +0200

    Fix protection of some unnecessarily strictly protected files
    
    Change-Id: I8bd18130c5fe87b2b352d285d58dd6a4f4499768
    (cherry picked from commit 155086493c9e035c0568868f5ae3b3dcf3299e6f)
    Reviewed-on: https://gerrit.libreoffice.org/48960
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/Makefile.in b/Makefile.in
index 768861f2bcf6..a1d6a675d7ed 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -364,6 +364,12 @@ ifneq ($(ENABLE_MACOSX_SANDBOX),)
 	rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/gengal
 	rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unopkg
 	rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unoinfo
+
+# Fix the protection of some externally sourced files that keep their original protection that
+# ridiculously doesn't allow 'read' by 'other'. (Which makes the files unusable anyway.) The App
+# Store validation catches this.
+
+	find $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents ! -perm -o=r -print0 | xargs -0 chmod o+r
 endif
 #
 # Then use the macosx-codesign-app-bundle script


More information about the Libreoffice-commits mailing list