Preserve owner and permissions of original /etc/resolv.conf.Ensure that new /etc/resolv.conf isn't group or world writable.