code: public FsPermission applyUMask(FsPermission umask) {
      return new FsPermission(useraction.and(umask.useraction.not()),
          groupaction.and(umask.groupaction.not()),
          otheraction.and(umask.otheraction.not()));
    }
docs: Apply a umask to this permission and return a new one