anchor.diff:      ok | logical_file_manager:error_reply().
   -check_permissions([{?delete_object, {parent, 2}}, {?add_object, {parent, {path, 3}}}]).
   rename_file(CTX, SourceEntry, CanonicalTargetPath, LogicalTargetPath) ->
  -    case check_reg_preconditions(CTX, SourceEntry, CanonicalTargetPath) of
  +    case check_reg_preconditions(CTX, LogicalTargetPath) of
           ok ->
               rename_select(CTX, SourceEntry, CanonicalTargetPath, LogicalTargetPath);
           Error ->
  
positive.code: 
      CurrTime = erlang:system_time(seconds),
      ok = update_mtime_ctime(SourceParent, CurrTime),
      ok = logical_file_manager:update_times(SessId, {path, CanonicalTargetPath}, undefined, undefined, CurrTime),
      ok = logical_file_manager:update_times(SessId, {path, TargetParentPath}, undefined, CurrTime, CurrTime),
      ok.
  
  
negative.code:                 ?DIRECTORY_TYPE ->
                      {error, ?EISDIR};
                  _ ->
                      logical_file_manager:unlink(SessId, {path, LogicalTargetPath})
              end
      end.
  
  