Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add log to debug sample data dir permission error (#7066)
Tianzhou (天舟)6199bdbf62cc
diff --git a/backend/resources/postgres/postgres.go b/backend/resources/postgres/postgres.goindex 68badf2ff4..308126872b 100644--- a/backend/resources/postgres/postgres.go+++ b/backend/resources/postgres/postgres.go@@ -216,6 +216,7 @@ func InitDB(pgBinDir, pgDataDir, pgUser string) error {return err}if !sameUser {+ log.Info(fmt.Sprintf("Change owner of data directory %q to bytebase", pgDataDir))p.SysProcAttr = &syscall.SysProcAttr{Setpgid: true,Credential: &syscall.Credential{Uid: uint32(uid)},