@@ -, +, @@ --- modules/dav/fs/repos.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) --- a/modules/dav/fs/repos.c +++ a/modules/dav/fs/repos.c @@ -1486,6 +1486,12 @@ static dav_error * dav_fs_walker(dav_fs_walker_context *fsctx, int depth) continue; } + /* skip temporary files generated by msoffice unless a HIDDEN is performed */ + if (!(params->walk_type & DAV_WALKTYPE_HIDDEN) + && dirent.name[0] == '~' && dirent.name[1] == '$') { + continue; + } + /* append this file onto the path buffer (copy null term) */ dav_buffer_place_mem(pool, &fsctx->path1, dirent.name, len + 1, 0); --