/usr/lib/python2.7/dist-packages/rgw.py is in python-ceph 0.41-1ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.7/dist-packages/../../../share/pyshared/rgw.py
/usr/lib/python2.7/dist-packages/../../../share/pyshared/rgw.py