tuning the error messages for file permission problems