toricred6 wrote: ↑Mon Aug 09, 2021 11:00 am
I know this is a dumb question, but can I change the user that the record engine runs as? Or at least who the owner and group are that the files have?
You can.
You can change the RunAs parameter in the UI to the username you want to use.
However - there is a process you will have to follow (below) to do this as I can't automate it easily.
Also - fwiw I think QNAP Will update for QTS5 similar rules to Synology did for DSM7, i.e. the package will have a user created and must be run with that user.
Anyway - here's the instructions.
1. stop the DVR engine via app center or command line
2. You need to remove the temporary files - the downloaded record engine binary in the Record Path, the log files, and the self extracted file in /tmp (/tmp/hdhome*) - this is important because these will be in owned by the old user, and will need them removed so the new user can overwrite them.
3. You need to make sure the new username has READ access to the CONF file - it's normally world readable - but worth checking
Code: Select all
ls -l $(getcfg HDHomeRunDVR Install_Path -f /etc/config/qpkg.conf)/HDHomeRunDVR.conf
4. Make the update by either editing the conf file, or via the UI to the user you want.
5. Ensure all the recordings in your RecordPath are owned by the new user - you may need to add the user to the share also.
6. start the DVR engine via app center or command line
Best of luck.