Skip to content

Commit

Permalink
Merge pull request #17 from Selerity/SelerityMichael/issue16
Browse files Browse the repository at this point in the history
viya4-home-dir-builder Incorrect Mode
  • Loading branch information
royalsouvenir authored Nov 24, 2022
2 parents 074c4e1 + 2ea3a68 commit 16f27b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/viya4-home-dir-builder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ maintainers:

type: application

version: 0.2.3
version: 0.2.4

appVersion: latest
2 changes: 1 addition & 1 deletion charts/viya4-home-dir-builder/home_dir_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def home_dir_builder(consul_token, viya_base_url, client_id, client_secret, home
if dry_run == '0':
try:
new_home_dir = Path(home, uid)
new_home_dir.mkdir(mode=0a750)
new_home_dir.mkdir(mode=0o750)
log.info(f"Created home directory for {uid}")
try:
os.chown(new_home_dir, uids[uid], 1001)
Expand Down

0 comments on commit 16f27b6

Please sign in to comment.