Events file is owned by root (created by docker container). When agentd kill runs as user, it cannot write to the file. Need to either: 1) Run container with --user flag, 2) Use sudo in kill, or 3) Have container create files with correct permissions