add permission check

disallow non-root user to execute ktap script.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>