Skip to content

Commit 577f929

Browse files
committed
Update base path permission non recursively
1 parent 851c1d9 commit 577f929

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

e3sm_supported_machines/bootstrap.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,14 @@ def main():
544544
check_call(commands)
545545

546546
group = config.get('e3sm_unified', 'group')
547-
update_permissions(paths_to_update, group, show_progress=True,
548-
group_writable=False, other_readable=True)
547+
update_permissions(
548+
base_path, group, group_writable=True,
549+
other_readable=True, recursive=False
550+
)
551+
update_permissions(
552+
paths_to_update, group, show_progress=True,
553+
group_writable=False, other_readable=True, recursive=True
554+
)
549555

550556

551557
if __name__ == '__main__':

0 commit comments

Comments
 (0)