MCPcopy
hub / github.com/containers/toolbox / newSubIDError

Function newSubIDError

src/cmd/root.go:334–342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332}
333
334func newSubIDError() error {
335 var builder strings.Builder
336 fmt.Fprintf(&builder, "Missing subgid and/or subuid ranges for user %s\n", currentUser.Username)
337 fmt.Fprintf(&builder, "See the podman(1), subgid(5), subuid(5) and usermod(8) manuals for more\n")
338 fmt.Fprintf(&builder, "information.")
339
340 errMsg := builder.String()
341 return errors.New(errMsg)
342}
343
344func setUpGlobals() error {
345 var err error

Callers 1

validateSubIDRangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…