/usr/share/man/man1/lex.1.gz is in flex-old 2.5.4a-10ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/man/man1/flex.1.gz
/usr/share/man/man1/flex.1.gz