Hey! Not sure how you got here, but this mailing list is shut down in favor
of the rust forum <https://users.rust-lang.org>. Feel free to ask your
questions there!

it looks like you may be looking for
https://doc.rust-lang.org/std/fs/struct.Permissions.html though.

On Sat, Nov 14, 2015 at 4:29 PM Jesús Espino <[email protected]> wrote:

> Hi, I need a function that check the permissions of the current user
> in a file (this is the unix access function). In rust i can use the
> unsafe function libc::access, but I think must more sense to have it
> on the File Metadata object or MetadataExt.
>
> I'm thinking about make a pull request to rust with this function
> (calling libc::access) but I want to know if this approach is correct,
> and where to include it.
>
> Regards.
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to