summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-01-04 21:17:05 (GMT)
committerGitHub <noreply@github.com>2021-01-04 21:17:05 (GMT)
commitdef7dc3b715d92ccc3e8a6a58ac36779435e41c9 (patch)
tree5b7b2d9c99eb80eb429e4da67a4f558cb16ac8c1 /Tools/msi
parente6d0107e13ed957109e79b796984d3d026a8660d (diff)
downloadcpython-def7dc3b715d92ccc3e8a6a58ac36779435e41c9.zip
cpython-def7dc3b715d92ccc3e8a6a58ac36779435e41c9.tar.gz
cpython-def7dc3b715d92ccc3e8a6a58ac36779435e41c9.tar.bz2
Do not remove x bit from published directories (GH-24101)
(cherry picked from commit af4cd16479f2d55bee3db899e7679d7cde1d2ab7) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/uploadrelease.ps14
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*