code: public static Mode applyDirectoryUMask(Mode mode, String authUmask) {
      return applyUMask(mode, getUMask(authUmask));
    }
docs: Applies the default umask for newly created directories to this mode.
  
  @param mode the mode to update
  @param authUmask the umask to apply on the directory
  @return the updated object