Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Use leading 0 when setting mode with os.chmod(). r=bustage
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Feb 8, 2012
1 parent 9ccbb58 commit c848f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/generate-sums.py
Expand Up @@ -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' % \
Expand Down

0 comments on commit c848f07

Please sign in to comment.