/usr/share/gmt/gmt_custom_media.conf is in gmt 4.5.12-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /etc/gmt/gmt_custom_media.conf
/etc/gmt/gmt_custom_media.conf