public function set_bucket_acl($bucket, $acl, $opt = array())
{
$this->assertParameterArray($opt);
$result = $this->analyze_user_acl($acl);
$opt = array_merge($opt, $result);
$opt[self::BUCKET] = $bucket;
$opt[self::METHOD] = 'PUT';
$opt[self::OBJECT] = '/';
$opt[self::QUERY_STRING] = array(self::ACL => 1);
$response = $this->authenticate($opt);
$this->log($response->isOK() ? "Set bucket acl success!" : "Set bucket acl failed! Response: [" . $response->body . "]", $opt);
return $response;
}