Why folder in directory does not contain metadata when created with AWS Cli
- Views:
- 10
- Visibility:
- Public
- Votes:
- 0
- Category:
- storagegrid-webscale
- Specialty:
- sgrid
- Last Updated:
- 5/7/2025, 12:55:34 AM
Applies to
StorageGRID
- AWS Cli
- S3 Browser
Answer
- StorageGRID is object based storage an uses a flat file system and does not utilize traditional file systems
- For example, if created by AWS Cli with
/folder/file
, the/folder
will not contain any metadata. If the file in/folder/file
were to be deleted, the/folder
will be removed as well:- If the desire to have the folder exist, create a 0 byte file to remain after deletion, manually create a zero-byte object with a key ending in / to simulate the "folder".
- If utilizing an S3 browser and manually created a folder, the metadata will exist for the folder
Additional Information
N/A