code: def set_acl(self, acl_or_str, key_name='', validate=True, headers=None,
                  version_id=None):
          
          if not self.bucket_name:
              raise InvalidUriError('set_acl on bucket-less URI (%s)' %
                                    self.uri)
          self.get_bucket(validate, headers).set_acl(acl_or_str, key_name,
                                                     headers, version_id)
docs: sets or updates a bucket's acl