/usr/lib/bareos/scripts/ is in bareos-database-mysql 14.2.6-3.
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/mysql.sql
/usr/lib/bareos/scripts/ddl/drops/
/usr/lib/bareos/scripts/ddl/drops/mysql.sql
/usr/lib/bareos/scripts/ddl/grants/
/usr/lib/bareos/scripts/ddl/grants/mysql-readonly.sql
/usr/lib/bareos/scripts/ddl/grants/mysql.sql
/usr/lib/bareos/scripts/ddl/updates/
/usr/lib/bareos/scripts/ddl/updates/mysql.10_11.sql
/usr/lib/bareos/scripts/ddl/updates/mysql.11_12.sql
/usr/lib/bareos/scripts/ddl/updates/mysql.12_14.sql
/usr/lib/bareos/scripts/ddl/updates/mysql.14_2001.sql
/usr/lib/bareos/scripts/ddl/updates/mysql.2001_2002.sql
/usr/lib/bareos/scripts/ddl/updates/mysql.2002_2003.sql