You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the docs there's a suggestion to use sudo to overcome permission issues:
www-data ALL = NOPASSWD: /usr/bin/python
this is basically allowing the web server to run absolutely everything as root.
it might be better to set the target writeable using group permissions.
I know it's just a home project but once you teach someone to do this wrong, they got the wrong approach in their toolbox.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! And you make a very good point.
The PHP script to control things from the browser was removed a while ago. I kept that troubleshooting tip there for informational purposes. I'll add a note there stating that it's not recommended to use this method for anything due to security risks and should only be used for testing purposes.
in the docs there's a suggestion to use sudo to overcome permission issues:
www-data ALL = NOPASSWD: /usr/bin/python
this is basically allowing the web server to run absolutely everything as root.
it might be better to set the target writeable using group permissions.
I know it's just a home project but once you teach someone to do this wrong, they got the wrong approach in their toolbox.
The text was updated successfully, but these errors were encountered: