anchor.diff:  %% ====================================================================
   truncate(Storage_helper_info, File, Size) ->
       ok = case get_cached_value(File, mode, Storage_helper_info) of
  -             {ok,Mask} when (Mask band (?RWE_USR_PERM bor ?RWE_GRP_PERM bor ?RWE_OTH_PERM)) == 0  ->
  +             {ok, Mask} when (Mask band (?RWE_USR_PERM bor ?RWE_GRP_PERM bor ?RWE_OTH_PERM)) == 0 ->
                    case has_permission(File, write) of
                        true -> ok;
                        false -> setup_ctx(File)
  
positive.code: %% ====================================================================
  write(Storage_helper_info, File, Offset, Buf) ->
      ok = case get_cached_value(File, mode, Storage_helper_info) of
          {ok,Mask} when (Mask band (?RWE_USR_PERM bor ?RWE_GRP_PERM bor ?RWE_OTH_PERM)) == 0  ->
              case has_permission(File, write) of
                  true -> ok;
                  false -> setup_ctx(File)
              end;
          _ -> setup_ctx(File)
      end,
      {ErrorCode, Stat} = get_cached_value(File, is_reg, Storage_helper_info),
      case ErrorCode of
          ok ->
  
negative.code:                                     end,
                                  SelectedSpace0 = [SP || #space_info{space_id = X} = SP <- UserSpaces0, vcn_utils:ensure_binary(SpaceId) =:= X],
                                  SelectedSpace0;
                              _ ->
                                  SelectedSpaceId
                          end,
  
  