/usr/share/lua/5.2/socket/tp.lua is in lua-socket 3.0~rc1-3.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/lua/5.2/socket/../../5.1/socket/tp.lua
/usr/share/lua/5.2/socket/../../5.1/socket/tp.lua