Check out example codes for "/usr/bin/mandb: fopen /var/cache/man/7935: Permission denied". It will help you in understanding the concepts better.

Code Example 1

chmod 755 /var/cache/man

Learn ReactJs, React Native from akashmittal.com