Skip to content
Browse files

Use leading 0 when setting mode with os.chmod(). r=bustage

  • Loading branch information...
1 parent 9ccbb58 commit c848f0739f866de0861e67b931433ba13204f9a4 @bhearsum bhearsum committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/release/generate-sums.py
View
2 scripts/release/generate-sums.py
@@ -87,7 +87,7 @@ def validate(options, args):
log.info("Fixing permissions...")
for f in upload_files:
log.info("chmod 644 %s" % f)
- os.chmod(f, 644)
+ os.chmod(f, 0644)
rsyncFiles(files=upload_files, server=stageServer, userName=stageUsername,
sshKey=stageSshKey, target_dir=candidatesDir)
cmd = 'mkdir -v -m 2775 %s/contrib %s/contrib-localized' % \

0 comments on commit c848f07

Please sign in to comment.
Something went wrong with that request. Please try again.