diff options
author | Steve Dower <steve.dower@python.org> | 2021-01-04 20:56:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 20:56:32 (GMT) |
commit | af4cd16479f2d55bee3db899e7679d7cde1d2ab7 (patch) | |
tree | 539904065cb217cf63a7c64cb041603b0fb5988b /Tools | |
parent | 127dde591686816e379d1add015304e6b9fb6954 (diff) | |
download | cpython-af4cd16479f2d55bee3db899e7679d7cde1d2ab7.zip cpython-af4cd16479f2d55bee3db899e7679d7cde1d2ab7.tar.gz cpython-af4cd16479f2d55bee3db899e7679d7cde1d2ab7.tar.bz2 |
Do not remove x bit from published directories (GH-24101)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/uploadrelease.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/msi/uploadrelease.ps1 b/Tools/msi/uploadrelease.ps1 index d3673b4..7c825c4 100644 --- a/Tools/msi/uploadrelease.ps1 +++ b/Tools/msi/uploadrelease.ps1 @@ -90,7 +90,7 @@ if (-not $skipupload) { $d = "$target/$($p[0])/" & $plink -batch $user@$server mkdir $d & $plink -batch $user@$server chgrp downloads $d - & $plink -batch $user@$server chmod g-x,o+rx $d + & $plink -batch $user@$server chmod o+rx $d & $pscp -batch $chm.FullName "$user@${server}:$d" if (-not $?) { throw "Failed to upload $chm" } @@ -115,7 +115,7 @@ if (-not $skipupload) { $sd = "$d$($a.Name)$($p[1])/" & $plink -batch $user@$server mkdir $sd & $plink -batch $user@$server chgrp downloads $sd - & $plink -batch $user@$server chmod g-x,o+rx $sd + & $plink -batch $user@$server chmod o+rx $sd & $pscp -batch $msi.FullName "$user@${server}:$sd" if (-not $?) { throw "Failed to upload $msi" } & $plink -batch $user@$server chgrp downloads $sd* |