/usr/lib/bareos/scripts/ is in bareos-database-postgresql 16.2.4-3+deb9u2.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/bareos/scripts/ddl/
/usr/lib/bareos/scripts/ddl/creates/
/usr/lib/bareos/scripts/ddl/creates/postgresql.sql
/usr/lib/bareos/scripts/ddl/drops/
/usr/lib/bareos/scripts/ddl/drops/postgresql.sql
/usr/lib/bareos/scripts/ddl/grants/
/usr/lib/bareos/scripts/ddl/grants/postgresql-readonly.sql
/usr/lib/bareos/scripts/ddl/grants/postgresql.sql
/usr/lib/bareos/scripts/ddl/updates/
/usr/lib/bareos/scripts/ddl/updates/postgresql.10_11.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.11_12.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.12_14.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.14_2001.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.2001_2002.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.2002_2003.sql
/usr/lib/bareos/scripts/ddl/updates/postgresql.2003_2004.sql