This file is indexed.

/var/lib/pcp/testsuite/934.out 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
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
QA output created by 934
Absolute path ... no chown
return status=0
mode=drwxr-xr-x name=foo

./foo:
mode=drwxr-xr-x name=bar

./foo/bar:
mode=drwxr-xr-x name=foobar

./foo/bar/foobar:

Absolute path ... with chown
return status=0
mode= drwxrwxr-x user=pcp group=pcp name=foo

./foo:
mode= drwxrwxr-x user=pcp group=pcp name=bar

./foo/bar:
mode= drwxrwxr-x user=pcp group=pcp name=foobar

./foo/bar/foobar:
Relative path ... no chown
return status=0
mode=drwxr-xr-x name=foo

./foo:
mode=drwxr-xr-x name=bar

./foo/bar:
mode=drwxr-xr-x name=foobar

./foo/bar/foobar:

Relative path ... with chown
return status=0
mode= drwxrwxr-x user=pcp group=pcp name=foo

./foo:
mode= drwxrwxr-x user=pcp group=pcp name=bar

./foo/bar:
mode= drwxrwxr-x user=pcp group=pcp name=foobar

./foo/bar/foobar:
Relative ./path, one level already exists ... no chown
return status=0
mode=drwxrwxr-x name=foo

./foo:
mode=drwxrwxr-x name=bar

./foo/bar:
mode=drwxrwxr-x name=foobar

./foo/bar/foobar:

Relative ./path, two levels already exist ... with chown
return status=0
mode=drwxrwxr-x name=foo

./foo:
mode=drwxrwxr-x name=bar

./foo/bar:
mode= drwxr-xr-x user=pcp group=pcp name=foobar

./foo/bar/foobar:

Error cases ...

Permissions for mkdir ...
mkdir: cannot create directory 'foo/bar': Permission denied
mkdir_and_chown: foo/bar: mkdir -m 755 failed
return status=1
mode=dr-xr-xr-x name=foo

./foo:

Not root for chown ...
chown: changing ownership of 'foo': Operation not permitted
mkdir_and_chown: foo: chown pcp:pcp failed
return status=1

Middle level path component exists and is not a directory ...
mkdir_and_chown: foo/bar: already exists and is not a directory
return status=1
mode=drwxrwxr-x name=foo

./foo:
mode=-rw-r--r-- name=bar

Target path exists and is not a directory ...
mkdir_and_chown: foo/bar/foobar: already exists and is not a directory
return status=1
mode=drwxrwxr-x name=foo

./foo:
mode=drwxrwxr-x name=bar

./foo/bar:
mode=-rw-rw-r-- name=foobar