import os, subprocess

os.chdir(os.path.dirname(os.path.abspath(__file__)))

subprocess.call([ 'python',
                  os.path.join('..', 'venus', 'planet.py'),
                  'planet.ini' ])
subprocess.call([ 'python',
                  'aws', 's3', 'sync',
                  '--region', 'us-east-1',
                  'public/', 's3://tempura.8-p.info/' ])

import os, subprocess

os.chdir(os.path.dirname(os.path.abspath(__file__)))

subprocess.call([ 'python',
                  os.path.join('..', 'venus', 'planet.py'),
                  'planet.ini' ])
subprocess.call([ 'python',
                  'aws', 's3', 'sync',
                  '--region', 'us-east-1',
                  '--acl', 'public-read',
                  'public/', 's3://tempura.8-p.info/' ])

Set ACL explicitly to make files readable
Set ACL explicitly to make files readable

  import os, subprocess
  
  os.chdir(os.path.dirname(os.path.abspath(__file__)))
  
  subprocess.call([ 'python',
                    os.path.join('..', 'venus', 'planet.py'),
                    'planet.ini' ])
  subprocess.call([ 'python',
                    'aws', 's3', 'sync',
                    '--region', 'us-east-1',
+                   '--acl', 'public-read',
                    'public/', 's3://tempura.8-p.info/' ])
  
Set ACL explicitly to make files readable
## Code Before:
import os, subprocess

os.chdir(os.path.dirname(os.path.abspath(__file__)))

subprocess.call([ 'python',
                  os.path.join('..', 'venus', 'planet.py'),
                  'planet.ini' ])
subprocess.call([ 'python',
                  'aws', 's3', 'sync',
                  '--region', 'us-east-1',
                  'public/', 's3://tempura.8-p.info/' ])

## Instruction:
Set ACL explicitly to make files readable
## Code After:
import os, subprocess

os.chdir(os.path.dirname(os.path.abspath(__file__)))

subprocess.call([ 'python',
                  os.path.join('..', 'venus', 'planet.py'),
                  'planet.ini' ])
subprocess.call([ 'python',
                  'aws', 's3', 'sync',
                  '--region', 'us-east-1',
                  '--acl', 'public-read',
                  'public/', 's3://tempura.8-p.info/' ])
