Skip to content

[fd] Windows 上 read < 目录在重定向打开层报 Permission denied,达不到 EISDIR 诊断(issue1495 钉 X299 双边既存红) #3777

Closed

Description

@caomengxuan666

现象

tests/issue1495_read_directory_regressions.rs(无 cfg 门控)在 Windows(X299)上跑失败:read x < 目录 的重定向在打开层就报 Permission denied,执行达不到 read 漏斗的 EISDIR serve 路径,GNU 诊断 read: 0: read error: Is a directory 出不来。

证据(双边实测,非回归)

处置方向(待队长归类)

二选一或组合:(1) 产品面——重定向打开层在 Windows 上识别目录目标,给出与 EISDIR 等价的诊断路径;(2) 钉面——若判定 Windows 目录读语义另行立项,此茎在 Windows 上应有明确口径(cfg 门控或平台期望分支),不许留无主红。

归宿

Windows 面后续波/普查归类,不阻塞 #3773/#3774。

Refs #3774.

Activity

  1. added this to the 1.5.1 milestone on Nov 16, 2026
  2. added
    bug
    gnu-baseline
    P3-low
    area:fd
    on Nov 16, 2026
  3. caomengxuan666 commented on Nov 16, 2026

    @caomengxuan666
    MemberAuthor

    已由 #3780 合入(merge e8e854e)。Windows 上 read < 目录现达 EISDIR 诊断,与 GNU 逐字一致:X299 腿 issue1495 1/1、issue3770 8/8、issue3655 10/10;Linux census 腿已收尾(run 43858203199:金标恰 2 基线格,census 85,issue1495/issue2101/issue3770/issue3655 四茎全绿)。残差 2 格(issue2101 茎内真 cat.exe 读目录 stdin 静默 rc=0)为 WinuxCmd cat 面,已另立 unixwin/WinuxCmd#1807 追踪。

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

Metadata

Metadata

Labels

P3-lowarea:fdbuggnu-baseline

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions