Skip to content

du: -L 对目录符号链接操作数不跟随遍历目标 #1748

Closed

Description

@caomengxuan666

Summary

du -b -L <dir-symlink> 不遍历链接目标目录,与 GNU coreutils 9.4 分歧。主干尖 491c544a 全量 rust-tests 实测 897/898,唯一失败即本面:du::files0_from_tests::dereference_directory_link_operand_walks_the_target(src/commands/du.rs:2107)。

Evidence

Destination

归宿:WinuxCmd du 面修法车道(X299 验证)。修法按 GNU 源码先行,钉已在仓内(fail-first 现成),修后该钉转绿即验收主据。

Activity

  1. added
    bug
    compat-gap
    on Nov 14, 2026
  2. added a commit that references this issue on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcompat-gap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions