SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
S3 Tables: use os.ModeDir constant in filer_ops.go
Chris Lu5cea00ff0732
diff --git a/weed/s3api/s3tables/filer_ops.go b/weed/s3api/s3tables/filer_ops.goindex 8ccfdb004a..08004b5cf7 100644--- a/weed/s3api/s3tables/filer_ops.go+++ b/weed/s3api/s3tables/filer_ops.go@@ -4,6 +4,7 @@ import ("context""errors""fmt"+ "os""time""github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"@@ -27,7 +28,7 @@ func (h *S3TablesHandler) createDirectory(ctx context.Context, client filer_pb.SAttributes: &filer_pb.FuseAttributes{Mtime: now,Crtime: now,- FileMode: uint32(0755 | 1<<31), // Directory mode+ FileMode: uint32(0755 | os.ModeDir), // Directory mode},},})