/usr/lib/python2.7/dist-packages/gridfs/grid_file.py is in python-gridfs 2.1-1ubuntu0.1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.7/dist-packages/gridfs/../../../../share/pyshared/gridfs/grid_file.py