This file is indexed.

/usr/lib/x86_64-linux-gnu/glusterfs/3.8.8/xlator/features/glupy/helloworld.py is in glusterfs-common 3.8.8-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
import sys
from gluster.glupy import *

class xlator (Translator):

    def __init__(self, c_this):
        Translator.__init__(self, c_this)

    def lookup_fop(self, frame, this, loc, xdata):
        print "Python xlator: Hello!"
        dl.wind_lookup(frame, POINTER(xlator_t)(), loc, xdata)
        return 0

    def lookup_cbk(self, frame, cookie, this, op_ret, op_errno, inode, buf,
                   xdata, postparent):
        print "Python xlator: Hello again!"
        dl.unwind_lookup(frame, cookie, this, op_ret, op_errno, inode, buf,
                         xdata, postparent)
        return 0