/usr/share/kamailio/db_berkeley/ is in kamailio-berkeley-modules 4.3.4-1.1ubuntu2.
This file is owned by root:root, with mode 0o755.
..
/usr/share/kamailio/db_berkeley/kamailio/
/usr/share/kamailio/db_berkeley/kamailio/acc
/usr/share/kamailio/db_berkeley/kamailio/acc_cdrs
/usr/share/kamailio/db_berkeley/kamailio/active_watchers
/usr/share/kamailio/db_berkeley/kamailio/address
/usr/share/kamailio/db_berkeley/kamailio/aliases
/usr/share/kamailio/db_berkeley/kamailio/carrier_name
/usr/share/kamailio/db_berkeley/kamailio/carrierfailureroute
/usr/share/kamailio/db_berkeley/kamailio/carrierroute
/usr/share/kamailio/db_berkeley/kamailio/cpl
/usr/share/kamailio/db_berkeley/kamailio/dbaliases
/usr/share/kamailio/db_berkeley/kamailio/dialog
/usr/share/kamailio/db_berkeley/kamailio/dialog_vars
/usr/share/kamailio/db_berkeley/kamailio/dialplan
/usr/share/kamailio/db_berkeley/kamailio/dispatcher
/usr/share/kamailio/db_berkeley/kamailio/domain
/usr/share/kamailio/db_berkeley/kamailio/domain_attrs
/usr/share/kamailio/db_berkeley/kamailio/domain_name
/usr/share/kamailio/db_berkeley/kamailio/domainpolicy
/usr/share/kamailio/db_berkeley/kamailio/dr_gateways
/usr/share/kamailio/db_berkeley/kamailio/dr_groups
/usr/share/kamailio/db_berkeley/kamailio/dr_gw_lists
/usr/share/kamailio/db_berkeley/kamailio/dr_rules
/usr/share/kamailio/db_berkeley/kamailio/globalblacklist
/usr/share/kamailio/db_berkeley/kamailio/grp
/usr/share/kamailio/db_berkeley/kamailio/htable
/usr/share/kamailio/db_berkeley/kamailio/imc_members
/usr/share/kamailio/db_berkeley/kamailio/imc_rooms
/usr/share/kamailio/db_berkeley/kamailio/lcr_gw
/usr/share/kamailio/db_berkeley/kamailio/lcr_rule
/usr/share/kamailio/db_berkeley/kamailio/lcr_rule_target
/usr/share/kamailio/db_berkeley/kamailio/location
/usr/share/kamailio/db_berkeley/kamailio/location_attrs
/usr/share/kamailio/db_berkeley/kamailio/matrix
/usr/share/kamailio/db_berkeley/kamailio/missed_calls
/usr/share/kamailio/db_berkeley/kamailio/mohqcalls
/usr/share/kamailio/db_berkeley/kamailio/mohqueues
/usr/share/kamailio/db_berkeley/kamailio/mtree
/usr/share/kamailio/db_berkeley/kamailio/mtrees
/usr/share/kamailio/db_berkeley/kamailio/pdt
/usr/share/kamailio/db_berkeley/kamailio/pl_pipes
/usr/share/kamailio/db_berkeley/kamailio/presentity
/usr/share/kamailio/db_berkeley/kamailio/pua
/usr/share/kamailio/db_berkeley/kamailio/purplemap
/usr/share/kamailio/db_berkeley/kamailio/re_grp
/usr/share/kamailio/db_berkeley/kamailio/rls_presentity
/usr/share/kamailio/db_berkeley/kamailio/rls_watchers
/usr/share/kamailio/db_berkeley/kamailio/rtpproxy
/usr/share/kamailio/db_berkeley/kamailio/sca_subscriptions
/usr/share/kamailio/db_berkeley/kamailio/silo
/usr/share/kamailio/db_berkeley/kamailio/sip_trace
/usr/share/kamailio/db_berkeley/kamailio/speed_dial
/usr/share/kamailio/db_berkeley/kamailio/subscriber
/usr/share/kamailio/db_berkeley/kamailio/trusted
/usr/share/kamailio/db_berkeley/kamailio/uacreg
/usr/share/kamailio/db_berkeley/kamailio/uid_credentials
/usr/share/kamailio/db_berkeley/kamailio/uid_domain
/usr/share/kamailio/db_berkeley/kamailio/uid_domain_attrs
/usr/share/kamailio/db_berkeley/kamailio/uid_global_attrs
/usr/share/kamailio/db_berkeley/kamailio/uid_uri
/usr/share/kamailio/db_berkeley/kamailio/uid_uri_attrs
/usr/share/kamailio/db_berkeley/kamailio/uid_user_attrs
/usr/share/kamailio/db_berkeley/kamailio/uri
/usr/share/kamailio/db_berkeley/kamailio/userblacklist
/usr/share/kamailio/db_berkeley/kamailio/usr_preferences
/usr/share/kamailio/db_berkeley/kamailio/version
/usr/share/kamailio/db_berkeley/kamailio/watchers
/usr/share/kamailio/db_berkeley/kamailio/xcap