This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_cron_user.aug is in augeas-lenses 1.10.1-2.

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

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
module Test_Cron_User =

let s = "MAILTO=cron@example.com
31 * * * * ${HOME}/bin/stuff
54 16 * * * /usr/sbin/tmpwatch -umc 30d ${HOME}/tmp\n"

let lns = Cron_User.lns

test lns get s =
  { "MAILTO" = "cron@example.com" }
  { "entry" = "${HOME}/bin/stuff"
    { "time"
      { "minute" = "31" }
      { "hour" = "*" }
      { "dayofmonth" = "*" }
      { "month" = "*" }
      { "dayofweek" = "*" }
    }
  }
  { "entry" = "/usr/sbin/tmpwatch -umc 30d ${HOME}/tmp"
    { "time"
      { "minute" = "54" }
      { "hour" = "16" }
      { "dayofmonth" = "*" }
      { "month" = "*" }
      { "dayofweek" = "*" }
    }
  }

test lns put s after
rm "/MAILTO";
rm "/entry[time/minute = '54']";
set "/entry[. = '${HOME}/bin/stuff']/time/minute" "24" =
  "24 * * * * ${HOME}/bin/stuff\n"