/usr/share/gretl/COPYING is in gretl-common 2017d-3build1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/gretl/../common-licenses/GPL
/usr/share/gretl/../common-licenses/GPL