if(coll != null) coll.release();
	public void chown(User u, String group) throws XMLDBException {		org.exist.security.SecurityManager manager = pool.getSecurityManager();		if (!manager.hasAdminPrivileges(user))			throw new XMLDBException(				ErrorCodes.PERMISSION_DENIED,				"need admin privileges for chown");		org.exist.collections.Collection coll = collection.getCollection();		DBBroker broker = null;		try {			coll.getPermissions().setOwner(u);			coll.getPermissions().setGroup(group);			broker = pool.get(user);			broker.saveCollection(coll);			broker.flush();			//broker.sync();		} catch (EXistException e) {			throw new XMLDBException(				ErrorCodes.VENDOR_ERROR,				e.getMessage(),				e);		} catch (PermissionDeniedException e) {			throw new XMLDBException(				ErrorCodes.PERMISSION_DENIED,				e.getMessage(),				e);		} finally {			pool.release(broker);		}	}