Skip to content

Commit 150d7c3

Browse files
committed
typo
1 parent 4a4312e commit 150d7c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

easybuild/tools/filetools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,9 +2463,9 @@ def copy_file(path, target_path, force_in_dry_run=False):
24632463

24642464
try:
24652465
# re-enable user write permissions in target, copy xattrs, then remove write perms again
2466-
adjust_permissions(target_path, stat.I_IWUSR)
2466+
adjust_permissions(target_path, stat.S_IWUSR)
24672467
shutil._copyxattr(path, target_path)
2468-
adjust_permissions(target_path, stat.I_IWUSR, add=False)
2468+
adjust_permissions(target_path, stat.S_IWUSR, add=False)
24692469
except OSError as err:
24702470
raise EasyBuildError("Failed to copy file %s to %s: %s", path, target_path, err)
24712471

0 commit comments

Comments
 (0)