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

.local permission error on HomeAssistant Core Docker when running as a non-root user #388

Open
UniqueName992 opened this issue Jan 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@UniqueName992
Copy link

Describe the bug
When installing on the home assistant docker as a non-root user mode, a permission error occurs within the /.local folder:

Unable to install package pyglowmarkt==0.5.5: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/.local' Check the permissions.

To Reproduce
Steps to reproduce the behaviour:

  1. Run home assistant core in docker as a user with the user flag set
  2. Attempt to install the integration via HACS
  3. Attempt to add the integration. Notice that the configuration does not load.
  4. Check the system logs to observe the permission error.

Expected behaviour
The python package should be installable as a non-root user.

Version
HASS - 2024.1.2
hildrebrandglow - 1.03

Additional context
This issue can be worked around by creating a /.local mount for the homeassistant docker and adding it to the docker configuration with the necessary user permissions. This integration then works as expected

@UniqueName992 UniqueName992 added the bug Something isn't working label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant