danielperna84 / hass-configurator

Configuration UI for Home Assistant
MIT License
313 stars 168 forks source link

hass_configurator.configurator:Access denied #180

Closed djmalin closed 4 years ago

djmalin commented 4 years ago

hello, I have a request how can I get rid of this error, I can not exit config, but I can be in this directory: INFO:2020-01-14 18:19:51,345:hass_configurator.configurator:Starting server INFO:2020-01-14 18:19:51,363:hass_configurator.configurator:Listening on: http://0.0.0.0:8099 INFO:2020-01-14 18:20:51,909:hass_configurator.configurator:172.30.32.2 - "GET / HTTP/1.1" 200 - INFO:2020-01-14 18:20:55,225:hass_configurator.configurator:172.30.32.2 - "GET /api/file?filename=/config/scripts.yaml HTTP/1.1" 200 - INFO:2020-01-14 18:20:55,688:hass_configurator.configurator:172.30.32.2 - "GET /api/listdir?path=. HTTP/1.1" 200 - INFO:2020-01-14 18:21:00,573:hass_configurator.configurator:172.30.32.2 - "GET /api/listdir?path=/ HTTP/1.1" 200 - WARNING:2020-01-14 18:21:00,574:hass_configurator.configurator:Access denied.

This it NOT a support channel for problems with the HASS Configurator hassio add-on!

If you need assistance, please head over to the forum at https://community.home-assistant.io or the Discord chat.

If you think you have found a bug, please post which version of the HASS Configurator you are using and how to reproduce the bug and in which environment you encounter the problem (Browser, Installation type etc.).

If you feel the HASS Configurator lacks a useful feature, just describe what that would be. You may also try to implement it yourself and create a pull request so your work can be merged into this project.

danielperna84 commented 4 years ago

Please rephrase your question. I don't understand the problem. Access denied happens when you try to navigate to a folder you are not allowed to access. So just don't try to go there.

djmalin commented 4 years ago

ok, problem solved, I changed the settings

"dirsfirst": true, "enforce_basepath": false,