Skip to content
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

Created sysfs files are not immediately ready for using. #1

Open
sardok opened this issue Nov 18, 2015 · 1 comment
Open

Created sysfs files are not immediately ready for using. #1

sardok opened this issue Nov 18, 2015 · 1 comment

Comments

@sardok
Copy link
Owner

sardok commented Nov 18, 2015

Created sys files (by means of exporting) need some time to update their uid/guid before using.

This symptom could be seen when gpio's direction file is failed to be written even though uid/gid of the file permits that.

@troelsim
Copy link

I am running into this issue too. My solution is to simply retry _configure_option on IOError before failing. I'll make a PR and you can check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants