Permalink
Browse files

Bug 756661 - check_permissions fails because thunderbird release file…

…s are not owned by group firefox. r=jhopkins
  • Loading branch information...
1 parent c591e58 commit e7d2792605073c895f6fa3fbab100e51088b6c2a @rail rail committed May 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/release/push-to-mirrors.py
@@ -65,10 +65,10 @@ def validate(options, args):
def checkStagePermissions(productName, version, buildNumber, stageServer,
- stageUsername=None, stageSshKey=None):
+ stageUsername, stageSshKey):
# The following commands should return 0 lines output and exit code 0
- tests = ["find %s ! -user ffxbld ! -path '*/contrib*'",
- "find %s ! -group firefox ! -path '*/contrib*'",
+ tests = ["find %%s ! -user %s ! -path '*/contrib*'" % stageUsername,
+ "find %%s ! -group `id -g -n %s` ! -path '*/contrib*'" % stageUsername,
"find %s -type f ! -perm 644",
"find %s -mindepth 1 -type d ! -perm 755 ! -path '*/contrib*' ! -path '*/partner-repacks*'",
"find %s -maxdepth 1 -type d ! -perm 2775 -path '*/contrib*'",

0 comments on commit e7d2792

Please sign in to comment.