mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
_wchmod changes the read-only attribute of the path it is given, so on Windows chmod through a symbolic link changed the link and left the file it names unchanged, and a dangling link succeeded. A reparse point is now opened through its target and the target's path is changed, as FreeBSD 11.4's sys_chmod passes FOLLOW: a missing target fails with ENOENT and a link loop with ELOOP. The path lookup of a handle moves out of WindowsDescriptorPath_nid_no_patch so both use it. Co-Authored-By: Claude Opus 5.5 <[email protected]>