This file is indexed.

/usr/lib/wims/bin/setwimsd is in wims 1:4.08~dfsg1-1.

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
32
33
#! /bin/sh
#
# Fixes the uid of wrap..exec
# Must be run as root.

if [ ! "$(id -ru )" = 0 ]; then
 echo
 echo $0: Please run this script as root!
 echo
 exit 0
fi

cd `dirname $0`/..

file=public_html/bin/wimsd
group=`id -ng nobody`
case "$group" in
  nobody|nogroup);;
  *) group=;;
esac
if [ -z "$group" ]; then
  echo $0: your wimsd daemon  is currently unsecure. This is a debugging utility
  echo used to emulate a simple webserver. If you need this optional
  echo functionality, please create a group 'nobody' or 'nogroup' containing
  echo user 'nobody', then re-run this script.
  echo Aborting
  exit 1
fi

if [ -f $file ]; then
  chown nobody:$group $file
  chmod 6755 $file
fi