]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Do not remove x bit from published directories (GH-24101)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jan 2021 21:14:51 +0000 (13:14 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 21:14:51 +0000 (13:14 -0800)
(cherry picked from commit af4cd16479f2d55bee3db899e7679d7cde1d2ab7)

Co-authored-by: Steve Dower <steve.dower@python.org>
Tools/msi/uploadrelease.ps1

index d3673b4582983c9c7c54646638ce49aebfb89a12..7c825c443f22876c69417721981c703eac13ff54 100644 (file)
@@ -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*