Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission failure deleting files looking for interrupted multipart uploads #9000

Closed
cyberduck opened this issue Sep 3, 2015 · 7 comments
Closed
Assignees
Labels
bug fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

4799b8e created the issue

I am using Cyberduck for Mac (version 4.7.2). Am on Mac OS version 10.10.4. Connecting to my company's site on S3. I can create a folder and upload files fine but can't delete individual files (am trying to delete image files).

First, I get the warning message asking me if I really want to delete the file. Then, when I say yes, I get the following message if I try:

Upload Dialogue.png failed.
Access Denied.  Please contact your web hosting service provider for assistance.

It's odd because I'm not trying to upload, I'm trying to download. And the files are there, I can see them in the bucket. But I get this dialog and prompted to try again. But it doesn't work.

Yet if I delete the whole folder, it's no problem. I can delete it (and its contents fine). But I need to be able to delete individual files.

I got a colleague to test my account using a different program and I have permissions to delete both files and folders, and he managed to delete files fine logged in as me. So it must be something within Cyberduck. Can you help?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please post the transcript from the log drawer (⌘-L).

@cyberduck
Copy link
Collaborator Author

4799b8e commented

DELETE /Karen%20test/Dialogue.png HTTP/1.1
Date: Thu, 03 Sep 2015 12:24:53 GMT
Authorization: AWS AKIAI53YEWUIVRWTF2SA:EohmVoMq11DBCPNXwKphFcfLpjA=
Host: folens-folensonline-resources.s3.amazonaws.com:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.7.2.18004 (Mac OS X/10.10.4) (x86_64)
HTTP/1.1 204 No Content
x-amz-id-2: AmMKIq+vZSFgbaARJmgpiRM9vyUY04H81JPL504/UAmZqpv/gIvg3u38I3jpbTp3t5QzLUOp3dQ=
x-amz-request-id: A4FD74A50501B3F7
Date: Thu, 03 Sep 2015 12:24:54 GMT
Server: AmazonS3
GET /?prefix=Karen%20test%2FDialogue.png&uploads HTTP/1.1
Date: Thu, 03 Sep 2015 12:24:53 GMT
x-amz-request-payer: requester
Authorization: AWS AKIAI53YEWUIVRWTF2SA:wEG4nf8piDiJUlxa6n94eI8t45E=
Host: folens-folensonline-resources.s3.amazonaws.com:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.7.2.18004 (Mac OS X/10.10.4) (x86_64)
HTTP/1.1 403 Forbidden
x-amz-request-id: 90ED31BAE109592E
x-amz-id-2: TngFQNrcHcZg8BbsJxnxAE+9THy852Y4Lbwla0uk7IiqzWmojuNkpI2bIcmNC9YvYlixsC3fYvw=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Thu, 03 Sep 2015 12:24:53 GMT
Server: AmazonS3

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As a workaround, add the s3:ListBucketMultipartUploads permission to the user in IAM.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 792397a.

@cyberduck
Copy link
Collaborator Author

4799b8e commented

thanks so much, that worked! Cheers :)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#9063 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

38e8e80 commented

Replying to [comment:8 dkocher]:

#9063 closed as duplicate.

Thanks for closing my duplicate. Sorry I did not see this ticket when searching. Adding

s3:ListBucketMultipartUploads

worked perfectly. Thanks!

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants