Files
gstack/browse
Garry TanandClaude Fable 5 cc2469f1fe fix(test): gate the symlink-refusal test to POSIX and drop the umask assumption
The symlink regression test exercised the POSIX O_NOFOLLOW branch but ran
on Windows, where restrictDirectoryPermissions takes the icacls branch and
stat has no POSIX modes (0o666 always) — windows-free-tests failed on
mode 493 vs 438. Early-return on win32 like every sibling test in the
file, and assert the target's mode is UNCHANGED (captured post-mkdir)
instead of hardcoding 0o755, which a strict umask would also break.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 17:37:15 +00:00
..