I am trying to run some xquery scripts via the basexclient command line after logging in as a user with create permissions, but getting an error that admin permissions are required. basexclient connect to server using db_creator (with CREATE permissions) OPEN MyDatabase RUN test.xq → admin permission needed. Contents of test.xq : //database_info/version If I login as admin user, this sequence works fine. If I run this command via the rest interface in a browser and log in as db_creator, this also works. ( localhost:8984/rest/MyDatabase/?run=test.xq) If I run this command via the rest interface in a browser and log in a guest (permissions NONE) it says read permissions required (expected). Is there some limitation on running xq scripts from the command line client that requires admin permissions? Or am I missing some steps somewhere? Cheers, Chris