zero byte file is getting created instead of directory when accessed via s3 API

Bug #1843027 reported by Rahul Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Undecided
Unassigned

Bug Description

Following are the steps I follow to see the issue:
- Create a folder 'test' inside a container using swift API. Used a header 'Content-Type: application/directory' to create a folder.
- If I access the same container using s3 API, there is not folder 'test', instead I see a zero byte file with same name 'test'.

It might happen that s3 API expects an empty object to have a metadata 'Content-Type: application/x-directory' to be a directory/folder. I am using 'stein' release of swift. if any more information is required, let me know. Thanks in advance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.