diff --git a/cmd/serve/docker/options.go b/cmd/serve/docker/options.go index eb9483ed1..c8c89a29c 100644 --- a/cmd/serve/docker/options.go +++ b/cmd/serve/docker/options.go @@ -293,7 +293,7 @@ func getVFSOption(vfsOpt *vfscommon.Options, opt rc.Params, key string) (ok bool intVal, err = opt.GetInt64(key) if err == nil { if intVal >= 0 && intVal <= math.MaxUint32 { - vfsOpt.UID = uint32(intVal) + vfsOpt.GID = uint32(intVal) } else { err = fmt.Errorf("key %q (%v) overflows uint32", key, intVal) }