/lib/x86_64-linux-gnu/libncursesw.so.5 is in libncursesw5 6.0+20160213-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /lib/x86_64-linux-gnu/libncursesw.so.5.9
/lib/x86_64-linux-gnu/libncursesw.so.5.9