This file is indexed.

/usr/share/bacula-director/postinst-common is in bacula-director-common 5.2.5-0ubuntu6.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

DEFCONFIGDIR="/usr/share/bacula-common/defconfig"
DSTDIR="/etc/bacula"
CONFIG="bacula-dir.conf"
TMPCONFIG=$DSTDIR/$CONFIG.dpkg-tmp

if [ -f $TMPCONFIG ]; then
    SOURCE=$TMPCONFIG
else
    SOURCE=$DEFCONFIGDIR/$CONFIG
fi

if [ ! -f $DSTDIR/$CONFIG ]; then
    TARGET=$DSTDIR/$CONFIG
else
    TARGET=$DSTDIR/$CONFIG.dist
fi

# Final config fix
sed -e "s/@hostname@/`hostname`/" < $SOURCE > $TARGET

# get rid of now unnecessary file
rm -f $TMPCONFIG

# Harden permissions, so that passwords can not be looked at
# Fixed by Philipp M Hahn
chown root:bacula $TARGET
chmod 640 $TARGET

exit 0