Skip to content

Commit ed26075

Browse files
committed
clarify comment about permission changes in reproducible tarballs
1 parent 8658497 commit ed26075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/filetools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2802,7 +2802,7 @@ def reproducible_filter(tarinfo):
28022802
# reset file permissions by applying go+u,go-w
28032803
user_mode = tarinfo.mode & stat.S_IRWXU
28042804
group_mode = (user_mode >> 3) & ~stat.S_IWGRP # user mode without write
2805-
other_mode = group_mode >> 3 # user mode without write
2805+
other_mode = group_mode >> 3 # same as group mode
28062806
tarinfo.mode = (tarinfo.mode & ~0o77) | group_mode | other_mode
28072807
# reset ownership numeric UID/GID 0
28082808
tarinfo.uid = tarinfo.gid = 0

0 commit comments

Comments
 (0)