This file is indexed.

/var/lib/pcp/testsuite/660.out.4 is in pcp-testsuite 4.0.1-1.

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
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
QA output created by 660

=== pmwebd default startup  ===
"context":

=== pmwebd security constraints, file service ===
+++ should fail due to -N
PMWEBD error, XXX

+++ should fail due to nonexistent context#
PMWEBD error, XXX

+++ should fail with a different error (insufficient elements; ie pmFetch failed)
> GET /pmapi/2222/_fetch?names= HTTP/1.1
> Host: LOCALHOST:44323
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 56
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should fail with a different error (insufficient elements; ie pmFetch failed)
PMWEBD error, XXX

+++ should fail due to suspicious pmresapi path name
> GET /etc/passwd HTTP/1.1
> Host: LOCALHOST:44323
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should fail due to non-enablement of graphite
> GET /graphite/render?target=* HTTP/1.1
> Host: LOCALHOST:44323
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should pass, feed this very script
file service ok
no fd leak
redirected file ok