Commits

Garth Johnson committed 892f332

Temp fix to allow update as install for new server on existing instance

  • Participants
  • Parent commits 1b96ace

Comments (0)

Files changed (1)

File djaboto/management/commands/aws.py

         fab_api.sudo('chmod -R ug+rw ~/django/%s/%s/static' % (fab_api.env.SITENAME, fab_api.env.SITENAME))
 
         # Add access to the webserver to write into the cache directory
-        fab_api.sudo('chown -R %s:%s ~/django/%s/httpdocs' % (fab_api.env.AWS_USER, fab_api.env.AWS_HTTPD_GROUP, fab_api.env.SITENAME))
-        fab_api.sudo('chmod -R ug+rw ~/django/%s/httpdocs' % (fab_api.env.SITENAME))
+        fab_api.sudo('chown -R %s:%s ~/django/%s/' % (fab_api.env.AWS_USER, fab_api.env.AWS_HTTPD_GROUP, fab_api.env.SITENAME))
+        fab_api.sudo('chmod -R ug+rw ~/django/%s/' % (fab_api.env.SITENAME))
 
 
     def get_awsConnection(self):