Skip to content

implement std::fs::set_permissions_nofollow on unix #142938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lolbinarycat
Copy link
Contributor

implementation of #141607

@rustbot
Copy link
Collaborator

rustbot commented Jun 24, 2025

r? @ibraheemdev

rustbot has assigned @ibraheemdev.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 24, 2025
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the std-set_permissions_nofollow branch from 3ff03e0 to 4614625 Compare June 24, 2025 21:44
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the std-set_permissions_nofollow branch from 4614625 to 7d69442 Compare June 25, 2025 18:32
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-miri failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] object test:false 9.446
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
   --> library/std/src/sys/fs/mod.rs:112:52
    |
112 | pub fn set_permissions_nofollow(path: &Path, perm: fs::Permissions) -> io::Result<()> {
    |                                                    ^^ use of unresolved module or unlinked crate `fs`
    |
    = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
help: consider importing one of these modules
    |
3   + use crate::fs;
    |
3   + use crate::os::unix::fs;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants