JuliusBrussee/caveman · error

sqlite parent %q is group/world writable

Error message

sqlite parent %q is group/world writable

What it means

Error "sqlite parent %q is group/world writable" thrown in JuliusBrussee/caveman.

Source

Thrown at engine/ccr/sqlite_parent_security_posix.go:14

//go:build !windows && !js

package ccr

import (
	"fmt"
	"os"
)

func validateSQLiteParentSecurity(path string, info os.FileInfo) error {
	// Sticky shared temp directories (/tmp, macOS /private/tmp) prevent another
	// user from replacing the 0600 file. Other group/world-writable parents do not.
	if info.Mode().Perm()&0o022 != 0 && info.Mode()&os.ModeSticky == 0 {
		return fmt.Errorf("sqlite parent %q is group/world writable", path)
	}
	return nil
}

View on GitHub (pinned to 27d5a3981a)

Solutions

  1. Tighten permissions on the sqlite parent directory (remove group/world write).

When it happens

Trigger: Thrown at engine/ccr/sqlite_parent_security_posix.go:14 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of JuliusBrussee/caveman@27d5a3981a (2026-08-15). Data as JSON: /api/errors/535ff223efa397b2. Report an issue: GitHub.