light: Fixed segfault when not root