This file is indexed.

/usr/lib/shape/mkpdir is in shapetools 1.4pl6-11.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/sh
#
## Copyright (C) 1993,1994 by the author(s).
# 
# This software is published in the hope that it will be useful, but
# WITHOUT ANY WARRANTY for any part of this software to work correctly
# or as described in the manuals. See the ShapeTools Public License
# for details.
#
# Permission is granted to use, copy, modify, or distribute any part of
# this software but only under the conditions described in the ShapeTools 
# Public License. A copy of this license is supposed to have been given
# to you along with ShapeTools in a file named LICENSE. Among other
# things, this copyright notice and the Public License must be
# preserved on all copies.

#
# Author: Juergen Nickelsen (Juergen.Nickelsen@cs.tu-berlin.de)
#
# $Header: mkpdir[6.0] Fri Jul  9 19:53:21 1993 andy@cs.tu-berlin.de frozen $

notdir='File exists'
progname=`basename $0`

if [ $# -lt 1 ]
then
	echo usage: $progname [-m mode] directory 1>&2
	exit 2
fi

argc=$#
while [ $argc -gt 0 ]
do
  argstr=$1
  shift
  argc=`expr $argc - 1`
  case $argstr in
    -m)
      if [ $argc -gt 0 ]
      then
	mode=$1
	shift
	argc=`expr $argc - 1`
      else
	echo usage: $progname -m requires a mode argument. 1>&2
	exit 1
      fi;;
    *)
      for i in `echo $argstr | sed 's|\(.\)/|\1 |g'`
      do
	if [ -f $i ]
	then
	  echo $progname: $notdir 1>&2
	  exit 1
	elif [ ! -d $i ]
	then
	  mkdir $i || exit 3
	fi
        if [ "$mode" ]
        then
	  chmod $mode $i 2> /dev/null
        fi
	cd $i
      done
  esac
done