Skip to content

Permission denied on first run #24

@Kixunil

Description

@Kixunil

Hello, I've a problem in Heimdall. When I first run it, I get permission denied, but second time it works. I guess this is because export doesn't show up in /sys/ immediately. (I tried to unexport instead of rebooting and it panics too.)

Did you encounter this problem too? Is there any plan to fix it?

Activity

posborne

posborne commented on Dec 12, 2016

@posborne
Member

There's some discussion here: #5. I don't think there are any plans to handle this directly in this library.

Kixunil

Kixunil commented on Dec 17, 2016

@Kixunil
Author

OK, thank you. It might be useful to mention it in the API documentation though since I expect many people use the library with Raspberry Pi. (I didn't look at blinky example, just the API.) Also, it seems to be missing in README (which might be starting point for some people).

What do you think?

posborne

posborne commented on Dec 17, 2016

@posborne
Member

Yeah, would you be willing to open a PR with notes on possibly having to work around udev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @posborne@Kixunil

        Issue actions

          Permission denied on first run · Issue #24 · rust-embedded/rust-sysfs-gpio