Fixed permission handling, and IP address handling