Currently, the camera_hub runs as root. If it gets compromised, it can manipulate the partitions. Running the camera_hub as non-root prevents this attack. The other benefit of this is that we can have a network firewall, limiting the IP addresses that the camera can talk to. This way, even if the camera_hub is compromised, it won't be able to send videos to some arbitrary server.
Currently, the camera_hub runs as root. If it gets compromised, it can manipulate the partitions. Running the camera_hub as non-root prevents this attack. The other benefit of this is that we can have a network firewall, limiting the IP addresses that the camera can talk to. This way, even if the camera_hub is compromised, it won't be able to send videos to some arbitrary server.