Skip to content

cpSync symlink handling regression  #54730

Description

@PhilipTrauner

Version

v22.6.0

Platform

Darwin Quantum 23.6.0 Darwin Kernel Version 23.6.0: Fri Jul  5 17:56:41 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6000 arm6

Subsystem

fs

What steps will reproduce the bug?

override a directory with a symlink to a directory with {dereference: true}

How often does it reproduce? Is there a required condition?

consistently

What is the expected behavior? Why is that the expected behavior?

the source symlink should be derefenced

What do you see instead?

the source symlink is not derefenced

bool src_is_dir = src_status.type() == std::filesystem::file_type::directory;

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to file-system APIs and the fs module.regressionIssues related to regressions.v22.xIssues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions