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

Failure to read attributes of <directory>. #8724

Closed
cyberduck opened this issue Apr 3, 2015 · 7 comments
Closed

Failure to read attributes of <directory>. #8724

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

Comments

@cyberduck
Copy link
Collaborator

697dd3a created the issue

There is no way to set permissions to all files in a directory anymore - if you try, you will receive an error message "Failure to read attributes of .".
Cyberduck is trying to receive ACL metadata for the directory, but it fails because of the nature of S3 storage. Here are the request/response details:

GET /logs%2F?acl HTTP/1.1
Date: Thu, 02 Apr 2015 22:08:31 GMT
Authorization: AWS ***
Host: ***.s3.amazonaws.com:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.6.5 (Mac OS X/10.10.2) (x86_64)
HTTP/1.1 404 Not Found
x-amz-request-id: CF19A943485DE054
x-amz-id-2: BDXfq7K8ckzk5hNqMfPsa7/OA/qaGouCNfyrNVpIzXlXn7PA8RtpoKoFf/cnb8z4
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Thu, 02 Apr 2015 22:08:30 GMT
Server: AmazonS3

/logs/ is a directory with files, not a file. This functionality worked fine in the earlier versions of Cyberduck.

Steps to reproduce:

  1. Connect to Amazon S3 and open a bucket with files and "directories"
  2. Select a "directory" and go to the File -> Info
  3. Error message will appear
@cyberduck
Copy link
Collaborator Author

@dkocher commented

#8687 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 79406b6.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Reverted in 19c099b.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fix in 78e1dbb.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Add test in c5afe64.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 8b477b8.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 6c7aef0.

@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