Permissions configuration script.