code: public void chmod(int permissions, String path) throws SftpStatusException,
  			SshException {
  		String actual = resolveRemotePath(path);
  		sftp.changePermissions(actual, permissions);
  	}
docs: <p>
  Changes the access permissions or modes of the specified file or
  directory.
  </p>
  
  <p>
  Modes determine who can read, change or execute a file.
  </p>
  <blockquote>
  
  <pre>
  Absolute modes are octal numbers specifying the complete list of
  attributes for the files; you specify attributes by OR'ing together
  these bits.
  
  0400       Individual read
  0200       Individual write
  0100       Individual execute (or list directory)
  0040       Group read
  0020       Group write
  0010       Group execute
  0004       Other read
  0002       Other write
  0001       Other execute
  </pre>
  
  </blockquote>
  
  @param permissions
  the absolute mode of the file/directory
  @param path
  the path to the file/directory on the remote server
  
  @throws SftpStatusException
  @throws SshException