Use absolute paths when referring to paths.
Only set UID when root.