Root user isn't getting the correct path