public void setPermissions(String mode) throws SyntaxException, LockException {
public void setPermissions(int mode) throws LockException {
	public void setPermissions(String mode) throws SyntaxException, LockException {		Lock lock = db.getLock();		try {			lock.acquire(Lock.WRITE_LOCK);			permissions.setPermissions(mode);		} finally {			lock.release();		}	}