Files
rust/library
Jacob Pratt c51c39a676 Rollup merge of #160170 - asder8215:docs_set_perms_nofollow, r=clarfonthey
Refactored docs for `std::fs::set_permissions_nofollow` + fix BSD-based systems to use fchmodat with AT_SYMLINK_NOFOLLOW flag

Original Tracking Issue: https://github.com/rust-lang/rust/issues/141607
Fixes mistake made in rust-lang/rust#158168

This PR refactors documentations for `std::fs::set_permissions_nofollow` and fixes BSD-based systems + Android to use `fchmodat` with `AT_SYMLINK_NOFOLLOW` flag (instead of no flag set) and refactors all other platforms to defer to `OpenOptions` with `O_NOFOLLOW` behavior.

r? @clarfonthey
Since they looked at the original `set_permissions_nofollow` PR I made

cc @RalfJung
2026-08-30 00:08:59 -04:00
..
2026-08-19 09:27:38 -07:00
2026-08-25 18:15:16 +00:00