That I don't understand.
TVHeadEnd successfully create and change its configuration in "/root/.hts". I can see and open the configuration files. During configuration the following folders and files are created and can be opened:
* /root/.hts/tvheadend/config
* /root/.hts/tvheadend/accesscontrol/1 - 3
* /root/.hts/tvheadend/autorec/1 - 4
* /root/.hts/tvheadend/dvbadapters/_dev_dvb_adapter0_Sundtek_DVB_C__III_
* /root/.hts/tvheadend/dvbmuxes/_dev_dvb_adapter0_Sundtek_DVB_C__III_/ ~30 files
* /root/.hts/tvheadend/dvbtransports/ ~30 subfolder
* /root/.hts/tvheadend/dvr/config + log folder
* /root/.hts/tvheadend/epggrab/otamux
This is the proof, that the TVHeadEnd has all needed permissions to save it's configuration.
All files and folders are created from TVHeadEnd Web Configuration with root as owner and group. This show me TVHeadEnd is running as root user. This isn't my prefered user, but it has full access permission to the file system.
-> Where is the permission issue you mentioned?
I have TVHeadEnd installed on a NAS as module. The NAS module installation process uploaded the mod file and installed the module in one sequence without options to configure. For modules the NAS interface provide controles to start, stop, deinstall and install new modules only. For module configuration the TVHeadEnd module provide the web configuration on port 9981. There is no option to create or assign a module service user. I can configure the access to TVHeadEnd Web GUI only.
In NAS account management I can create user and groups. But there is no task to bind these NAS users to installed modules. To set another running account for the TVHeadEnd module I suggest I must change some start skripts. But I don't know which and where.
On startup of the NAS some POST messages show the folder /root is bound to device /dev/ram0. This show my suggest /root is mapped to a ram drive is true. This explains why the configuration is last after each shutdown or reboot.
Does anyone know, how to change the module installation to gain persistant configuration saves.