clever-tools 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clever-tools",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "Command Line Interface for Clever Cloud.",
5
5
  "keywords": [
6
6
  "cli",
@@ -212,7 +212,7 @@ export async function removeProfile(alias) {
212
212
  async function updateConfigFile(newConfig) {
213
213
  Logger.debug('Write the new config in the configuration file…');
214
214
  try {
215
- await writeJson(baseConfig.CONFIGURATION_FILE, newConfig, { mode: 0o600 });
215
+ await writeJson(baseConfig.CONFIGURATION_FILE, newConfig, { mode: 0o700 });
216
216
  reloadConfig();
217
217
  } catch (error) {
218
218
  throw new Error(`Cannot write configuration to ${baseConfig.CONFIGURATION_FILE}\n${error.message}`);