changes to support restrictive permissions for /etc/leap. this is required to work with the latest leap_cli.