Skip to content

Add fallback behavior for os.getlogin() raising No such device or address #10

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

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

devsnd
Copy link
Contributor

@devsnd devsnd commented Sep 5, 2023

Add fallback behavior for os.getlogin() raising No such device or address

Apparently the behavior is depending on the environment, see here: https://bugs.python.org/issue40821

Instead I made the fan world-writable, which might not be the best security wise, but it probably good enough. Now it works for me™

… No such device or address`

Apparently the behavior is depending on the environment, see here: https://bugs.python.org/issue40821

Instead I made the fan world-writable, which might not be the best security wise, but it probably good enough.
@zocker-160
Copy link
Owner

Thank you for this LGTM, was not aware of this issue.

@zocker-160 zocker-160 merged commit 8fe2560 into zocker-160:master Sep 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants