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
avoid changing attributes for mount directory
Chris Lua1c7dc380683
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex fae2892177..6d4917cb4a 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -379,6 +379,10 @@ func (dir *Dir) removeFolder(ctx context.Context, req *fuse.RemoveRequest) errorfunc (dir *Dir) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *fuse.SetattrResponse) error {+ if dir.attributes == nil {+ return nil+ }+glog.V(3).Infof("%v dir setattr %+v, fh=%d", dir.Path, req, req.Handle)if req.Valid.Mode() {dir.attributes.FileMode = uint32(req.Mode)