[Tilecache] s3 acl permissions

Josh Livni josh at umbrellaconsulting.com
Tue Feb 10 17:42:54 EST 2009


Hi all,
I'm wondering how folks usually set the ACL/permissions for their S3 tile
stores.  By default, it seems to me that new files uploaded are not
public-read, which implies to me I need to manually set all tiles to be
public read.  In this case, I just added a line to the AWSS3.py
( self.getBotoKey(key).set_acl('public-read') ) ..  but this adds a bit of a
lag to each request, and also it sometimes fails (requiring try/except,
logging/fixing, etc).

Is there a better recommended method for this?  I took a 2nd glance at the
aws docs and didn't see a way to set a bucket such that all child objects
have the same ACL, which struck me as strange - is there a way to do this,
or another way you guys have solved this problem?

Thanks,

 -Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20090210/6a97a130/attachment.html


More information about the Tilecache mailing list