/lib/x86_64-linux-gnu/libncursesw.so.5 is in libncursesw5 5.9+20140913-1+deb8u3.
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