I am trying to simplify the connection of my raspberry to the different wifi networks that I meet in my travels.
I created an ui page in which I can launch my functions (radio, tv and sites consultation). I also created a form that allows me to enter the ssid, the password and the security type to feed a flow that produces a wpa_supplicant.conf file to overwrite the existing one.
My problem is that this flow generates the following error: "EACCES: permission denied; open '/ etc / wpa_supplicant ..."
Of course, I could modify the permissions of the file but I am surprised that node-red which a proiori runs as root, does not have the necessary permissions.
Could someone confirm that for me?