/usr/share/terminfo/p/pt505-22 is in ncurses-term 5.9+20140118-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/terminfo/p/../t/tt505-22
/usr/share/terminfo/p/../t/tt505-22