Open
Description
Feature gate: #![feature(set_permissions_nofollow)]
This is a tracking issue for the std::fs::set_permissions_nofollow
function.
This function acts similarly to fs::set_permissions
, except that it will never follow symlinks. This functions behavior when called on a symlink is platform-specific: on some platforms it will fail with an error, while on other platforms it may simply have no effect.
Public API
pub fn set_permissions_nofollow<P: AsRef<Path>>(path: P, perm: Permissions) -> Result<()>
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- ACP Accepted: std::fs::set_symlink_permissions libs-team#582
- Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.