Add to check the file permission before mm_file access a file.
-rwxr-xr-x 45 AUTHORS
-rw-r--r-- 11357 LICENSE.APLv2.0
-rw-r--r-- 1278 Makefile.am
-rwxr-xr-x 211 NOTICE
-rw-r--r-- 1378 README
-rw-r--r-- 317110 aclocal.m4
-rwxr-xr-x 123 autogen.sh
drwxr-xr-x - codecs
-rwxr-xr-x 43830 config.guess
-rw-r--r-- 4283 config.h.in
-rwxr-xr-x 31544 config.sub
-rw-r--r-- 5401 configure.ac
-rwxr-xr-x 17867 depcomp
drwxr-xr-x - formats
drwxr-xr-x - include
-rwxr-xr-x 13620 install-sh
-rw-r--r-- 225464 ltmain.sh
drwxr-xr-x - m4
-rwxr-xr-x 11135 missing
-rwxr-xr-x 309 mm-fileinfo.pc.in
-rw-r--r-- 48039 mm_file.c
-rw-r--r-- 103 mm_file_config.ini
drwxr-xr-x - packaging
drwxr-xr-x - tests
drwxr-xr-x - unittest
drwxr-xr-x - utils