Skip to content

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.

HCFS support change user name and group names

Chris Lu650d1af9780b
diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.go
index 42069c54c0..f883c59bc1 100644
--- a/weed/server/filer_grpc_server.go
+++ b/weed/server/filer_grpc_server.go
@@ -162,6 +162,8 @@ func (fs *FilerServer) UpdateEntry(ctx context.Context, req *filer_pb.UpdateEntr
newEntry.Attr.Uid = req.Entry.Attributes.Uid
newEntry.Attr.Gid = req.Entry.Attributes.Gid
newEntry.Attr.Mime = req.Entry.Attributes.Mime
+ newEntry.Attr.UserName = req.Entry.Attributes.UserName
+ newEntry.Attr.GroupNames = req.Entry.Attributes.GroupName
}