Project

General

Profile

Actions

Bug #19363

closed

return two responses when user do GetAcl on bucket

Added by Chang Liu about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
kraken
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

➜ build git:(wip-fix-seg-fault) ✗ s3cmd info s3://liuchang/

s3://liuchang/ (bucket):
   Location:  us-east-1
   Payer:     BucketOwner
   Expiration Rule: none
ERROR: Error parsing xml: not well-formed (invalid token): line 1, column 101
ERROR: <LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"></LifecycleConfiguration>HTTP/1.1 200 OK
x-amz-request-id: tx000000000000000000026-0058d38277-103e-default
Content-Type: application/xml
Content-Length: 937
Date: Thu, 23 Mar 2017 08:08:23 GMT

<?xml version="1.0" encoding="UTF-8"?><AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234</ID><DisplayName>john.doe</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"><URI>http://acs.amazonaws.com/groups/global/AllUsers</URI></Grantee><Permission>READ</Permission></Grant><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234</ID><DisplayName>john.doe</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>test</ID><DisplayName>Tester-Subuser</DisplayName></Grantee><Permission>READ</Permission></Grant></AccessControlList></AccessControlPolicy>


Actions

Also available in: Atom PDF