We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc3270 commit c902c51Copy full SHA for c902c51
src/main/xar-resources/post-install.xql
@@ -8,10 +8,11 @@ declare namespace repo="http://exist-db.org/xquery/repo";
8
declare variable $target external;
9
10
let $data := xmldb:create-collection($target, "data")
11
+let $col := xs:anyURI($data)
12
return (
- sm:chown($data, "monex"),
13
- sm:chgrp($data, "monex"),
14
- sm:chmod($data, "rw-rw----")
+ sm:chown($col, "monex"),
+ sm:chgrp($col, "monex"),
15
+ sm:chmod($col, "rw-rw----")
16
),
17
for $name in ("instances.xml", "notifications.xml")
18
let $res := xs:anyURI($target || "/" || $name)
0 commit comments