Index: subversion/libsvn_subr/io.c =================================================================== --- subversion/libsvn_subr/io.c (revision 1701642) +++ subversion/libsvn_subr/io.c (working copy) @@ -2065,12 +2065,18 @@ rename_size); } - WIN32_RETRY_LOOP(status, - win32_set_file_information_by_handle(hFile, - FileRenameInfo, - rename_info, - rename_size)); + /* Windows Vista+ client accessing network share stored on Windows Server + 2003 returns ERROR_ACCESS_DENIED. The same happens when Vista+ client + access Windows Server 2008 with disabled SMBv2 protocol. + So return SVN_ERR_UNSUPPORTED_FEATURE in this case like we do when + SetFileInformationByHandle() is not available and let caller to + handle it. */ + if (status == APR_FROM_OS_ERROR(ERROR_ACCESS_DENIED)) + { + status = SVN_ERR_UNSUPPORTED_FEATURE; + } + if (status) { return svn_error_wrap_apr(status, _("Can't move '%s' to '%s'"),