From 734360a329f786e41e488cc290642a20e87d6cea Mon Sep 17 00:00:00 2001 From: Wolfgang Meier Date: Tue, 6 Feb 2024 18:39:52 +0100 Subject: [PATCH] Fix wrong permissions assigned to annotation collection during install --- post-install.xql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/post-install.xql b/post-install.xql index ea0dbb72..1d58b746 100644 --- a/post-install.xql +++ b/post-install.xql @@ -32,8 +32,10 @@ sm:chmod(xs:anyURI($target || "/data/annotate"), "rwxrwxr-x"), sm:chown(xs:anyURI($target || "/data/annotate"), "tei-demo"), sm:chown(xs:anyURI($target || "/data/registers"), "tei-demo"), for $resource in xmldb:get-child-resources($target || "/data/registers") -return +return ( sm:chown(xs:anyURI($target || "/data/registers/" || $resource), "tei-demo"), + sm:chmod(xs:anyURI($target || "/data/registers/" || $resource), "rw-rw-r--") +), sm:chmod(xs:anyURI($target || "/data/jats"), "rwxrwxr-x"), sm:chown(xs:anyURI($target || "/data/jats"), "tei-demo"), xmldb:create-collection($target || "/data", "temp"),