Skip to content

Tracking Issue for std::fs::set_permissions_nofollow #141607

Open
@lolbinarycat

Description

@lolbinarycat

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

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

Labels

C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions