Permission Denied for Buttons using WEBUI_DATA_FILES #1701
Replies: 3 comments 2 replies
-
@Jquitadamo the first line in the script needs to start with Eric |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@Jquitadamo look in I noticed your You normally shouldn't need to reboot to fix a web issue. First try to close the hung window. If that doesn't work, restart the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have successfully added some weather sensors and buttons to the Web UI to control a dew heater using WEBUI_DATA_FILES configuration setting.
However, when executing the python scripts via buttons, I am getting a permission denied:
'/home/pi/dewheater/web/stop.py' failed: sh: 1: /home/pi/dewheater/web/stop.py: Permission denied
Here is the text used to create the buttons
button - /home/pi/dewheater/web/start.py green play Start Thermostat
button - /home/pi/dewheater/web/stop.py red stop Stop Thermostat
I used WinSCP to ensure the custom directory and .py files have proper permission. See image below.
Any next suggestions?
Jason
Beta Was this translation helpful? Give feedback.
All reactions