Fixes permissions of config.json file to be able to change it when the CLI is installed globally