check file permissions of file config