Commit b7d05770 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

set permissions on xquery files (executable via REST interface)

parent 56973851
Pipeline #131478 passed with stages
in 13 minutes and 15 seconds
......@@ -19,6 +19,7 @@ return (
(: MIME type :) (),
(: preserve structure :) true()
),
(collection("/db/sade-projects")/base-uri()[ends-with(., ".xq") or ends-with(., ".xql")] ! sm:chmod(., "rwxrwxr-x")),
file:delete($dir || $fileSeparator || "sade-projects"),
xmldb:store-files-from-pattern(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment