/usr/share/groovy/lib/CodeNarc.jar is in libcodenarc-groovy-java 0.17-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/groovy/lib/../../java/CodeNarc.jar
/usr/share/groovy/lib/../../java/CodeNarc.jar