You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking Issue for extending std::fs::Permissions on Windows #152956
It adds an extension trait PermissionsExt to Permissions struct for Windows to get and set file attributes.
Public API
// std::os::windows::fs::PermissionsExt;pubtraitPermissionsExt:Sealed{/// Returns the file attribute bits.fnfile_attributes(&self) -> u32;/// Sets the file attribute bits.fnset_file_attributes(&mutself,mask:u32);/// Creates a new instance from the given file attribute bits.fnfrom_file_attributes(mask:u32) -> Self;}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
changed the title [-]Tracking Issue for extending std::fs::Permissions on Windows[/-][+]Tracking Issue for extending `std::fs::Permissions` on Windows[/+]on Jun 19, 2026
Activity
asder8215 commentedon Feb 22, 2026
@rustbot claim
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Rollup merge of rust-lang#152995 - asder8215:windows_permissions_ext,…
Unrolled build for #152995
Rollup merge of #152995 - asder8215:windows_permissions_ext, r=Mark-S…
asder8215 commentedon May 2, 2026
@rustbot label -S-tracking-unimplemented
[-]Tracking Issue for extending std::fs::Permissions on Windows[/-][+]Tracking Issue for extending `std::fs::Permissions` on Windows[/+]bardiharborow commentedon Aug 24, 2026
@rustbot label +A-filesystem +A-permissions +O-windows