Run the updater with dedicated user/group

Let the firmware updater run with user and group 'goodixfwupdate'
to reduce safety risks. And before run the jail use chown/chmod
give access to necessary device nodes.

BUG=chromium:815399
TEST=Tested with retrofitted Yoga 710.
CQ-DEPEND=CL:1034172

Change-Id: Iaaeb6830571f83bc0f56ec6419b259b88fa407bc
Reviewed-on: https://chromium-review.googlesource.com/1034041
Commit-Ready: Charles Wang <charles.goodix@gmail.com>
Tested-by: Charles Wang <charles.goodix@gmail.com>
Reviewed-by: Jingkui Wang <jkwang@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
3 files changed
tree: 9534ed5ef0334ee32169fddef68f413b701c3bf7
  1. host_scripts/
  2. policies/
  3. scripts/
  4. LICENSE
  5. OWNERS
  6. README