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.)
Unresolved Questions
Feature gate:
#![feature(set_permissions_nofollow)]This is a tracking issue for the
std::fs::set_permissions_nofollowfunction.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
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)set_permissions_nofollowfor all primary platforms #158168Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩