file monitoring permission problems