I have a build script that sets modular perms on the generated artifact to 0555, prior to uploading to the Downloads section of my repo. After the upload occurs I have gone back and downloaded the newly published artifact, checked the perms, and found that they are 0311 and not 0555 like expected.
Are the permissions being modified (script sets and confirms perms prior to upload -- see below) and if yes, is this intentional?
if platform == 'linux64' or platform == 'darwin64':
os.chmod(package, 0o555)
print(f'File permissions of {package} have been set to {oct(os.stat(package).st_mode)[-3:]}')