Skip to content

Failure to read attributes of <directory>. #8724

@cyberduck

Description

@cyberduck

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

Metadata

Metadata

Assignees

Labels

s3AWS S3 Protocol Implementation

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions