/usr/lib/erlang/doc is in erlang-doc 1:16.b.3-dfsg-1ubuntu2.2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/erlang/../../share/doc/erlang-doc/doc
/usr/lib/erlang/../../share/doc/erlang-doc/doc