diff --git a/bundles/mx-puppet-discord/metadata.py b/bundles/mx-puppet-discord/metadata.py index 6982d50..48c3a9b 100644 --- a/bundles/mx-puppet-discord/metadata.py +++ b/bundles/mx-puppet-discord/metadata.py @@ -5,6 +5,7 @@ def mx_puppet_discord_user(metadata): 'mx-puppet-discord': { 'home': '/opt/mx-puppet-discord', 'deploy_configs': False, + 'home-mode': '0755', }, }, }, DEFAULTS, DONE diff --git a/bundles/users/items.py b/bundles/users/items.py index 2f46777..c01553a 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -45,7 +45,7 @@ for username, attrs in node.metadata['users'].items(): directories[home] = { 'owner': username, - 'mode': '0700', + 'mode': attrs.get('home-mode', '0700'), } if 'ssh_pubkey' in attrs: