Since the new Read only system got introduced, developing packages for both separate compilation and included in firmware, it seems the lua process (called from uhttpd) does not have permissions to interact with the UCI or run scripts with os.execute and such..
It also seems the uci ubus object isnt even accessible to the uhttpd process.
Whereas previously this was not an issue.
uhttpd running as non root: UCI_OUT=[uid=575(uhttpd) gid=575(uhttpd)
uci: I/O error|UCI_COMMIT_FAILED|] when calling uci commit from a lua method called by the vue frontend.
Everything works fine as root from CLI.
So just wanting to find out if there is a supported SDK mechanism for a user package Lua API handler to write to UCI post the read only update?