[Cyberduck-trac] [Cyberduck] #11701: 403 Forbidden failure copying file
Cyberduck
trac at cyberduck.io
Tue Jun 8 07:51:57 UTC 2021
#11701: 403 Forbidden failure copying file
---------------------+------------------------
Reporter: duynh33 | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone:
Component: s3 | Version: 7.9.2
Severity: normal | Resolution:
Keywords: Ceph-S3 | Architecture:
Platform: |
---------------------+------------------------
Comment (by dkocher):
The actual copy operation is successful
{{{
PUT /test-s3/file-test-123.zip HTTP/1.1
Date: Mon, 07 Jun 2021 15:20:28 GMT
Expect: 100-continue
x-amz-copy-source: /test-s3/file-test.zip
x-amz-metadata-directive: COPY
Authorization: ********
Content-Length: 0
Host: 172.20.2.112:80
Connection: Keep-Alive
User-Agent: Cyberduck/7.9.1.34974 (Windows 10/10.0) (amd64)
HTTP/1.1 200 OK
}}}
but an additional request is made to copy the original ACL
{{{
2021-06-07 22:20:28,689 [background-9] DEBUG
org.jets3t.service.impl.rest.httpclient.RestStorageService - Creating
object with a non-canned ACL using REST, so an extra ACL Put is required
3347 2021-06-07 22:20:28,689 [background-9] DEBUG
org.jets3t.service.impl.rest.httpclient.RestStorageService - Setting
Access Control List for bucketName=test-s3, objectKey=file-test-123.zip
}}}
Because of the 403 for `PUT /test-s3/test01/file-test.zip?acl= ` the
source file is not deleted.
{{{
<Error><Code>AccessDenied</Code><Message>Access
Denied</Message><Resource>848dc0ec80cdfdd7cd7cd078a4983cdd7d39a02b809201d200355a35a19d7de0</Resource><RequestId>ac1b3fa4:175337bc949:ab5ce:264</RequestId></Error>
}}}
--
Ticket URL: <https://trac.cyberduck.io/ticket/11701#comment:3>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list