code: public void setMode(String mode) throws PageException {
  	try {
  	    this.mode = ModeUtil.toOctalMode(mode);
  	}
  	catch (IOException e) {
  	    throw Caster.toPageException(e);
  	}
      }
docs: set the value mode Used with action = "Create" to define the permissions for a directory on UNIX
  and Linux platforms. Ignored on Windows. Options correspond to the octal values of the UNIX chmod
  command. From left to right, permissions are assigned for owner, group, and other.
  
  @param mode value to set
  @throws PageException