XQuery Function Documentation

http://exist-db.org/xquery/securitymanager

java:org.exist.xquery.functions.securitymanager.SecurityManagerModule

Module for interacting with the Security Manager

sm:chmod#2

sm:chmod($path as xs:anyURI, $mode as xs:string) as empty-sequence()

Changes the mode of a resource or collection.

Parameters:
$pathThe path to the resource or collection whose mode you wish to set
$modeThe mode to set on the resource or collection e.g. 'rwxrwxrwx'
Returns:
empty-sequence()