aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/dash/bucket_handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/admin/dash/bucket_handlers.go')
-rw-r--r--weed/admin/dash/bucket_handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/admin/dash/bucket_handlers.go b/weed/admin/dash/bucket_handlers.go
index e6edaa217..7fbd74a1e 100644
--- a/weed/admin/dash/bucket_handlers.go
+++ b/weed/admin/dash/bucket_handlers.go
@@ -307,8 +307,8 @@ func (s *AdminServer) CreateS3BucketWithQuota(bucketName string, quotaBytes int6
IsDirectory: true,
Attributes: &filer_pb.FuseAttributes{
FileMode: uint32(0755 | os.ModeDir), // Directory mode
- Uid: uint32(1000),
- Gid: uint32(1000),
+ Uid: filer_pb.OS_UID,
+ Gid: filer_pb.OS_GID,
Crtime: time.Now().Unix(),
Mtime: time.Now().Unix(),
TtlSec: 0,